linux-stable/drivers/net/ethernet/sun
Paul Jakma 15bbf8bb4d NIU: fix incorrect error return, missed in previous revert
Commit 7930742d6, reverting 26fd962, missed out on reverting an incorrect
change to a return value.  The niu_pci_vpd_scan_props(..) == 1 case appears
to be a normal path - treating it as an error and return -EINVAL was
breaking VPD_SCAN and causing the driver to fail to load.

Fix, so my Neptune card works again.

Cc: Kangjie Lu <kjlu@umn.edu>
Cc: Shannon Nelson <shannon.lee.nelson@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable <stable@vger.kernel.org>
Fixes: 7930742d ('Revert "niu: fix missing checks of niu_pci_eeprom_read"')
Signed-off-by: Paul Jakma <paul@jakma.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-23 17:48:52 +01:00
..
cassini.c net: sun: remove leading spaces before tabs 2021-05-19 12:17:31 -07:00
cassini.h net: sun: cassini: Cleanup license conflict 2019-01-22 11:22:07 -08:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ldmvsw.c sparc/vio: make remove callback return void 2021-05-14 13:45:58 +02:00
Makefile
niu.c NIU: fix incorrect error return, missed in previous revert 2021-07-23 17:48:52 +01:00
niu.h
sunbmac.c net: sunbmac: Replace in_interrupt() usage 2020-09-29 14:02:54 -07:00
sunbmac.h
sungem.c net: sun: remove leading spaces before tabs 2021-05-19 12:17:31 -07:00
sungem.h
sunhme.c net: sun: remove leading spaces before tabs 2021-05-19 12:17:31 -07:00
sunhme.h
sunqe.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
sunqe.h
sunvnet.c sparc/vio: make remove callback return void 2021-05-14 13:45:58 +02:00
sunvnet_common.c skb_copy_and_csum_bits(): don't bother with the last argument 2020-08-20 15:45:13 -04:00
sunvnet_common.h netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00