]> git.baikalelectronics.ru Git - kernel.git/commit
sunhme: forward the error code from pci_enable_device()
authorRolf Eike Beer <eike-kernel@sf-tec.de>
Sat, 24 Sep 2022 01:53:29 +0000 (21:53 -0400)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Sep 2022 00:45:36 +0000 (17:45 -0700)
commitacb3f35f920b532a22cafc10a0f78827b2d238f5
treeb97d0eb5a291b5d90dd20c360d7f0908a0f470d4
parent6478c6e994559ca2a4cb42808b35220704624660
sunhme: forward the error code from pci_enable_device()

This already returns a proper error value, so pass it to the caller.

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sun/sunhme.c