linux-stable/drivers/net/ethernet/xscale
Tang Bin 6ed79cec3c net: ethernet: ixp4xx: Add error handling in ixp4xx_eth_probe()
The function ixp4xx_eth_probe() does not perform sufficient error
checking after executing devm_ioremap_resource(), which can result
in crashes if a critical error path is encountered.

Fixes: f458ac4797 ("ARM/net: ixp4xx: Pass ethernet physical base as resource")
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-04-23 15:32:45 -07:00
..
ixp4xx_eth.c net: ethernet: ixp4xx: Add error handling in ixp4xx_eth_probe() 2020-04-23 15:32:45 -07:00
ixp46x_ts.h ixp4xx_eth: move platform_data definition 2020-01-12 12:59:53 -08:00
Kconfig ptp: ixp46x: move adjacent to ethernet driver 2020-01-12 12:59:52 -08:00
Makefile ptp: ixp46x: move adjacent to ethernet driver 2020-01-12 12:59:52 -08:00
ptp_ixp46x.c ptp: ixp46x: move adjacent to ethernet driver 2020-01-12 12:59:52 -08:00