lkml.org 
[lkml]   [2010]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] POWER: jz4740-battery: Check if platform_data is supplied
On Thu, Nov 11, 2010 at 07:00:53PM +0100, Lars-Peter Clausen wrote:
> Currently platform_data is dereferenced without checking whether it is actually
> set, which can lead to kernel crashes.
> This patch adds a check which will abort the drivers probe function gracefully
> if no platform_data is supplied.
>
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
> ---

Also applied, thanks.

--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2


\
 
 \ /
  Last update: 2010-11-18 15:01    [W:0.041 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site