linux/drivers/net/ethernet/sun
Sean Anderson 10f7b4975b net: sunhme: Fix uninitialized return code
[ Upstream commit d61157414d ]

Fix an uninitialized return code if we never found a qfe slot. It would be
a bug if we ever got into this situation, but it's good to return something
tracable.

Fixes: acb3f35f92 ("sunhme: forward the error code from pci_enable_device()")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:03:19 +09:00
..
cassini.c
cassini.h
Kconfig
ldmvsw.c
Makefile
niu.c niu: Fix missing unwind goto in niu_alloc_channels() 2023-04-20 12:35:08 +02:00
niu.h
sunbmac.c
sunbmac.h
sungem.c
sungem.h
sunhme.c net: sunhme: Fix uninitialized return code 2023-05-11 23:03:19 +09:00
sunhme.h
sunqe.c
sunqe.h
sunvnet_common.c
sunvnet_common.h
sunvnet.c