linux/drivers/net/ethernet/cavium
Arvind Yadav 162809dfc2 net: ethernet: cavium: octeon: octeon_mgmt: Handle return NULL error from devm_ioremap
Here, If devm_ioremap will fail. It will return NULL.
Kernel can run into a NULL-pointer dereference.
This error check will avoid NULL pointer dereference.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-19 11:03:34 -05:00
..
liquidio liquidio VF error handling 2016-12-08 18:16:51 -05:00
octeon net: ethernet: cavium: octeon: octeon_mgmt: Handle return NULL error from devm_ioremap 2016-12-19 11:03:34 -05:00
thunder net: nicvf: use new api ethtool_{get|set}_link_ksettings 2016-12-10 17:31:44 -05:00
Kconfig Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-12 19:56:15 -08:00
Makefile netdev: Move octeon/octeon_mgmt driver to cavium directory. 2016-03-18 18:25:30 -04:00