linux/drivers/net/dsa/ocelot
Vladimir Oltean 537e2b8822 net: dsa: felix: the switch does not support DMA
The code that sets the DMA mask to 64 bits is bogus, it is taken from
the enetc driver together with the rest of the PCI probing boilerplate.

Since this patch is touching the error path to delete err_dma, let's
also change the err_alloc_felix label which was incorrect. The kzalloc
failure does not need a kfree, but it doesn't hurt either, since kfree
works with NULL pointers.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210109203415.2120142-1-olteanv@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-01-11 16:16:35 -08:00
..
felix_vsc9959.c net: dsa: felix: the switch does not support DMA 2021-01-11 16:16:35 -08:00
felix.c net: dsa: remove the transactional logic from VLAN objects 2021-01-11 16:00:57 -08:00
felix.h net: mscc: ocelot: introduce conversion helpers between port and netdev 2020-10-02 15:40:30 -07:00
Kconfig net: dsa: seville: build as separate module 2020-09-18 17:52:51 -07:00
Makefile net: dsa: seville: build as separate module 2020-09-18 17:52:51 -07:00
seville_vsc9953.c net: mscc: ocelot: fix dropping of unknown IPv4 multicast on Seville 2020-12-05 15:41:34 -08:00