[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101118135924.GC19527@oksana.dev.rtsoft.ru>
Date: Thu, 18 Nov 2010 16:59:24 +0300
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Lars-Peter Clausen <lars@...afoo.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [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@...afoo.de>
> ---
Also applied, thanks.
--
Anton Vorontsov
email: cbouatmailru@...il.com
irc://irc.freenode.net/bd2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists