diff options
author | 2016-04-30 01:11:12 +0300 | |
---|---|---|
committer | 2016-07-26 15:25:30 -0700 | |
commit | 79f18a0637033f588accaa05621225c60301514a (patch) | |
tree | 8a22e03c921308359c3e1648ebf9f71efad76b18 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cmd640: add __init attribute (diff) | |
download | wireguard-linux-79f18a0637033f588accaa05621225c60301514a.tar.xz wireguard-linux-79f18a0637033f588accaa05621225c60301514a.zip |
ide-tape: fix misprint in failure handling in idetape_init()
If driver_register() failed there is no sense to call driver_unregister().
unregister_chrdev() should be called here.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions