[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131104.154949.7139336717561192.davem@davemloft.net>
Date: Mon, 04 Nov 2013 15:49:49 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: horms@...ge.net.au
Cc: sergei.shtylyov@...entembedded.com, netdev@...r.kernel.org,
nobuhiro.iwamatsu.yj@...esas.com, linux-sh@...r.kernel.org
Subject: Re: [PATCH v3] sh_eth: check platform data pointer
From: Simon Horman <horms@...ge.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:
>> 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@...entembedded.com>
>
> Acked-by: Simon Horman <horms+renesas@...ge.net.au>
>
> Dave, is it too late to for this to be considered for net-next?
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists