Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hp-wmi: fix error path in hp_wmi_bios_setup()
The error-path code can call rfkill_unregister() with a pointer which does not contain the result of a call to rfkill_register(). It goes BUG(). Addresses http://bugzilla.kernel.org/show_bug.cgi?id=12560. Cc: Frans Pop <[email protected]> Cc: Larry Finger <[email protected]> Cc: Len Brown <[email protected]> Acked-by: Matthew Garrett <[email protected]> Reported-by: Helge Deller <[email protected]> Testted-by: Helge Deller <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information