diff options
author | Andrew Morton <[email protected]> | 2009-02-04 15:12:07 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-02-05 12:56:47 -0800 |
commit | 44f0606d52d98ff05b3b62bb694821857e36819d (patch) | |
tree | 9aec0abf691fbe2d264c653dc7d445e63523f696 /lib/string_helpers.c | |
parent | 60fd760fb9ff7034360bab7137c917c0330628c2 (diff) |
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]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions