Re: [PATCH v3] sh_eth: check platform data pointer
From: David Miller <davem@davemloft.net>
Date: 2013-11-04 20:49:49
Also in:
linux-sh
From: David Miller <davem@davemloft.net>
Date: 2013-11-04 20:49:49
Also in:
linux-sh
From: Simon Horman <horms@verge.net.au> Date: Thu, 31 Oct 2013 15:05:27 +0900
[ Cc Dave Miller ] On Wed, Oct 30, 2013 at 11:30:19PM +0300, Sergei Shtylyov wrote:quoted
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 <redacted>Acked-by: Simon Horman <redacted> Dave, is it too late to for this to be considered for net-next?
Applied, thanks.