Messages in this thread | | | Date | Thu, 18 Nov 2010 16:59:24 +0300 | From | Anton Vorontsov <> | 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@metafoo.de> > ---
Also applied, thanks.
-- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2
| |