diff options
| author | Al Viro <[email protected]> | 2007-07-24 01:43:54 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-24 19:24:59 +0000 |
| commit | d316ee5787153765980ca0f55ee864ec883979ab (patch) | |
| tree | 2fb761e5b33f63e80bc018cd19027ec88626e035 /lib/fault-inject.c | |
| parent | include/asm-xtensa/io.h must #include <asm/page.h> (diff) | |
| download | kernel-d316ee5787153765980ca0f55ee864ec883979ab.tar.gz kernel-d316ee5787153765980ca0f55ee864ec883979ab.zip | |
Fix failure exits in asus-laptop
Fallout from f8a7c6fe14f556ca8eeddce258cb21392d0c3a2f. However, looking
at it shows that checks done in ASUS_LED_UNREGISTER() can't trigger
at all (we never get to asus_led_exit() if registration fails) and
if that registration fails, we actually leak stuff. IOW, it's worse
than just replacing class_dev with dev in there - the tests themselves
had been papering over the lousy cleanup logics.
Signed-off-by: Al Viro <[email protected]>
Michal Piotrowski <[email protected]>
Cc: Corentin Chary <[email protected]>
Cc: Karol Kozimor <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
