diff options
author | 2012-09-02 00:31:58 +0400 | |
---|---|---|
committer | 2012-09-05 13:44:04 -0700 | |
commit | 9a32bb39d6a48d435135695763e5e4a06652eeda (patch) | |
tree | 7f02a8cd4bbeec8e87eced34ca0bc51dd0c812c1 /tools/perf/scripts/python/syscall-counts.py | |
parent | lis3lv02d: Add STMicroelectronics lis331dlh digital accelerometer (diff) | |
download | linux-dev-9a32bb39d6a48d435135695763e5e4a06652eeda.tar.xz linux-dev-9a32bb39d6a48d435135695763e5e4a06652eeda.zip |
ppdev: ppdev_init: do not return zero in case of failure
Error handling of parport_register_driver() in ppdev_init()
is broken because it deallocates all resources but still
returns zero.
Currently parport_register_driver() always succeeds.
Nevertheless it is worth to fix the issue.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions