diff options
author | Costantino Leandro <[email protected]> | 2009-02-17 11:10:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-02-27 12:56:24 -0800 |
commit | 5789813e73220a0bfd85a44bc565a6ae624e8745 (patch) | |
tree | 4bc51fe5175409815b8f3788070cf8ce0e8cd8d0 /lib/string_helpers.c | |
parent | 096c55d1de39c0de526dfeb8a68ba3b0200e5a93 (diff) |
Staging: panel: fix oops on panel_cleanup_module
Check for null pardevice (not registered, ej: panel never attached,
inexistent parport, etc. ) before calling parport_release,
parport_unregister_device, and related funcs on module release.
Signed-off-by: Costantino Leandro <[email protected]>
Acked-by: Willy Tarreau <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions