aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa2.c
diff options
context:
space:
mode:
authorZheyu Ma <zheyuma97@gmail.com>2021-10-18 14:32:57 +0000
committerDavid S. Miller <davem@davemloft.net>2021-10-19 13:09:57 +0100
commitc69b2f46876825c726bd8a97c7fa852d8932bc32 (patch)
tree6702ff70c0a2d11b33ba0c38260abd3f1bf6cdea /net/dsa/dsa2.c
parentmISDN: Fix return values of the probe function (diff)
downloadlinux-c69b2f46876825c726bd8a97c7fa852d8932bc32.tar.gz
linux-c69b2f46876825c726bd8a97c7fa852d8932bc32.zip
cavium: Fix return values of the probe function
During the process of driver probing, the probe function should return < 0 for failure, otherwise, the kernel will treat value > 0 as success. Signed-off-by: Zheyu Ma <zheyuma97@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa2.c')
0 files changed, 0 insertions, 0 deletions