aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2018-01-04 07:30:28 +0000
committerDavid S. Miller <[email protected]>2018-01-05 16:24:54 +0000
commita31e795a3b4d8808724c7ea80f382b0fda85be0f (patch)
treec19a7d37adab5c5d0198882027be918c20c1a5b8 /net/tipc
parentMerge branch 'dsa-Move-padding-into-Broadcom-tagger' (diff)
downloadkernel-a31e795a3b4d8808724c7ea80f382b0fda85be0f.tar.gz
kernel-a31e795a3b4d8808724c7ea80f382b0fda85be0f.zip
net: dsa: lan9303: Fix error return code in lan9303_check_device()
Fix to return error code -ENODEV from the chip not found error handling case instead of 0(ret have been overwritten to 0 by lan9303_read()), as done elsewhere in this function. Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Egil Hjelmeland <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions