Platform: Fix error path in samsung-laptop init
commit a7ea1992 upstream. 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 <dh.herrmann@googlemail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by:
Matthew Garrett <mjg@redhat.com>
Showing
Please register or sign in to comment