linux-stable/drivers/net/ethernet/8390
Uwe Kleine-König 3c000faaaa net: ethernet: 8390: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is ignored (apart
from emitting a warning) and this typically results in resource leaks.
To improve here there is a quest to make the remove callback return
void. In the first step of this quest all drivers are converted to
.remove_new() which already returns void. Eventually after all drivers
are converted, .remove_new() is renamed to .remove().

Trivially convert these drivers from always returning zero in the remove
callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-09-20 09:06:37 +01:00
..
8390.c
8390.h net: ethernet: 8390: Convert unversioned GPL notice to SPDX license identifier 2023-05-16 15:38:07 +02:00
8390p.c
apne.c net: ethernet: 8390: Replace GPL 2.0 boilerplate with SPDX identifier 2023-05-16 15:38:07 +02:00
ax88796.c net: ethernet: 8390: Convert to platform remove callback returning void 2023-09-20 09:06:37 +01:00
axnet_cs.c net: ethernet: 8390: Convert unversioned GPL notice to SPDX license identifier 2023-05-16 15:38:07 +02:00
etherh.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
hydra.c net: ethernet: 8390: Replace GPL 2.0 boilerplate with SPDX identifier 2023-05-16 15:38:07 +02:00
Kconfig make legacy ISA probe optional 2021-08-03 13:05:26 +01:00
lib8390.c net: ethernet: 8390: Convert unversioned GPL notice to SPDX license identifier 2023-05-16 15:38:07 +02:00
mac8390.c net: ethernet: 8390: Convert unversioned GPL notice to SPDX license identifier 2023-05-16 15:38:07 +02:00
Makefile
mcf8390.c net: ethernet: 8390: Convert to platform remove callback returning void 2023-09-20 09:06:37 +01:00
ne.c net: ethernet: 8390: Convert to platform remove callback returning void 2023-09-20 09:06:37 +01:00
ne2k-pci.c net: ethernet: 8390: ne2k-pci: use module_pci_driver() macro 2023-08-10 19:31:57 -07:00
pcnet_cs.c net: ethernet: 8390: Convert unversioned GPL notice to SPDX license identifier 2023-05-16 15:38:07 +02:00
smc-ultra.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-05-18 14:39:34 -07:00
stnic.c net: ethernet: 8390: Replace GPL 2.0 boilerplate with SPDX identifier 2023-05-16 15:38:07 +02:00
wd.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-05-18 14:39:34 -07:00
xsurf100.c xsurf100: drop include of lib8390.c 2021-08-03 13:05:26 +01:00
zorro8390.c net: ethernet: 8390: Replace GPL 2.0 boilerplate with SPDX identifier 2023-05-16 15:38:07 +02:00