summaryrefslogtreecommitdiff
path: root/net/rds/connection.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-01-04 10:30:28 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-05 19:24:54 +0300
commita31e795a3b4d8808724c7ea80f382b0fda85be0f (patch)
treec19a7d37adab5c5d0198882027be918c20c1a5b8 /net/rds/connection.c
parent7892ea23c98c8dd034d34075943dbba8185adaf7 (diff)
downloadlinux-a31e795a3b4d8808724c7ea80f382b0fda85be0f.tar.xz
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 <weiyongjun1@huawei.com> Reviewed-by: Egil Hjelmeland <privat@egil-hjelmeland.no> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/connection.c')
0 files changed, 0 insertions, 0 deletions