Thread (3 messages) 3 messages, 3 authors, 2013-11-04

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: 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help