WSL2-Linux-Kernel/drivers/net/ethernet/xilinx
Krzysztof Kozlowski fcc028c106 net: axienet: Fix devm_ioremap_resource return value check
Value returned by devm_ioremap_resource() was checked for non-NULL but
devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of
error this could lead to dereference of ERR_PTR.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Cc: <stable@vger.kernel.org>
Fixes: 46aa27df88 ("net: axienet: Use devm_* calls")
Reviewed-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-09 21:43:16 -07:00
..
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver 2012-01-25 16:59:47 -05:00
ll_temac.h xilinx/ll_temac: Move the Xilinx drivers 2011-08-12 03:41:30 -07:00
ll_temac_main.c net: ll_temac: Remove sparse warnings 2015-06-07 15:20:42 -07:00
ll_temac_mdio.c xilinx/ll_temac: Move the Xilinx drivers 2011-08-12 03:41:30 -07:00
xilinx_axienet.h net: axienet: Fix kernel-doc warnings 2015-05-05 19:34:01 -04:00
xilinx_axienet_main.c net: axienet: Fix devm_ioremap_resource return value check 2015-07-09 21:43:16 -07:00
xilinx_axienet_mdio.c net: axienet: Fix kernel-doc warnings 2015-05-05 19:34:01 -04:00
xilinx_emaclite.c ethernet: Use bool function returns of true/false instead of 1/0 2015-03-31 14:09:49 -04:00