OrangePi_CM5/drivers/net/ethernet/sun
Zheyu Ma fc9a35627c ethernet: sun: Free the coherent when failing in probing
[ Upstream commit bb77bd31c281f70ec77c9c4f584950a779e05cf8 ]

When the driver fails to register net device, it should free the DMA
region first, and then do other cleanup.

Signed-off-by: Zheyu Ma <zheyuma97@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:39:47 +02:00
..
Kconfig net: sun: SUNVNET_COMMON should depend on INET 2021-10-17 10:43:33 +02:00
Makefile
…
cassini.c
…
cassini.h
…
ldmvsw.c
…
niu.c NIU: fix incorrect error return, missed in previous revert 2021-08-04 12:46:41 +02:00
niu.h
…
sunbmac.c
…
sunbmac.h
…
sungem.c
…
sungem.h
…
sunhme.c ethernet: sun: Free the coherent when failing in probing 2022-04-08 14:39:47 +02:00
sunhme.h
…
sunqe.c
…
sunqe.h
…
sunvnet.c
…
sunvnet_common.c
…
sunvnet_common.h
…