]> git.baikalelectronics.ru Git - kernel.git/commit
sunhme: Regularize probe errors
authorSean Anderson <seanga2@gmail.com>
Sat, 24 Sep 2022 01:53:31 +0000 (21:53 -0400)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Sep 2022 00:45:37 +0000 (17:45 -0700)
commit5b3dc6dda6b1af8a6117d99394a6db81ec9be3d5
tree8ab1dcdeec298a6e479f170a31139c6008c0be97
parentd6f1e89bdbb87365adcf16dfca40cdef6726d616
sunhme: Regularize probe errors

This fixes several error paths to ensure they return an appropriate error
(instead of ENODEV).

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sun/sunhme.c