diff options
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | 2009-08-19 15:06:47 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-09 23:59:19 -0500 |
commit | 71e9dc73cb6b1351bdd5f732cef5dbef411b3219 (patch) | |
tree | 968d57bf56ec08bfd82b600caf53626d02166990 /kernel/rtmutex-debug.h | |
parent | e1fbf346c7c56d6b2f9d835d297bcb088baaff3a (diff) | |
download | blackbird-op-linux-71e9dc73cb6b1351bdd5f732cef5dbef411b3219.tar.gz blackbird-op-linux-71e9dc73cb6b1351bdd5f732cef5dbef411b3219.zip |
dell-laptop: fix a use-after-free error on the failure path
dell_setup_rfkill() already cleans up the rfkill devices on failure.
So if it returns an error, we should not try to unregister the rfkill
devices.
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/rtmutex-debug.h')
0 files changed, 0 insertions, 0 deletions