linux_dsm_epyc7002/drivers/net/ethernet/renesas
Sergei Shtylyov 3b4c5cbf42 sh_eth: check platform data pointer
Check the platform data pointer before dereferencing it and error out of the
probe() method if it's NULL.

This has additional effect of preventing kernel oops with outdated platform data
containing zero PHY address instead (such as on SolutionEngine7710).

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-04 15:49:28 -05:00
..
Kconfig sh_eth: Add support for r8a7790 SoC 2013-07-24 15:39:26 -07:00
Makefile sh_eth: Move the Renesas SuperH driver 2011-08-12 23:47:36 -07:00
sh_eth.c sh_eth: check platform data pointer 2013-11-04 15:49:28 -05:00
sh_eth.h sh_eth: add/use RMCR.RNC bit 2013-10-23 16:49:58 -04:00