Re: [patch 5/8] Platform: Fix error path in samsung-laptop init

2011-09-20 Thread Greg KH
On Tue, Sep 20, 2011 at 02:21:54PM +0200, David Herrmann wrote: > Hi Greg > > On Fri, Sep 2, 2011 at 12:50 AM, wrote: > > samsung_init() should not return success if not all devices are initialized. > > Otherwise, samsung_exit() will dereference sdev NULL pointers and others. > > > > Signed-off-

[patch 5/8] Platform: Fix error path in samsung-laptop init

2011-09-20 Thread Greg KH
From: David Herrmann samsung_init() should not return success if not all devices are initialized. Otherwise, samsung_exit() will dereference sdev NULL pointers and others. Signed-off-by: David Herrmann Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/platform/x86/samsung-laptop.c |

Re: [patch 5/8] Platform: Fix error path in samsung-laptop init

2011-09-20 Thread David Herrmann
Hi Greg On Fri, Sep 2, 2011 at 12:50 AM, wrote: > samsung_init() should not return success if not all devices are initialized. > Otherwise, samsung_exit() will dereference sdev NULL pointers and others. > > Signed-off-by: David Herrmann > Cc: stable > Signed-off-by: Greg Kroah-Hartman > --- >

[patch 5/8] Platform: Fix error path in samsung-laptop init

2011-09-01 Thread gregkh
samsung_init() should not return success if not all devices are initialized. Otherwise, samsung_exit() will dereference sdev NULL pointers and others. Signed-off-by: David Herrmann Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/platform/x86/samsung-laptop.c |3 +-- 1 file changed