aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <[email protected]>2015-11-07 01:56:05 +0300
committerTakashi Iwai <[email protected]>2015-11-07 11:14:30 +0100
commitcb68429d155507ec46f1922d2beb7bc637de4836 (patch)
tree906caa97e530348ca4edcf0efb3a3606327695c8 /tools/perf/util/trace-event-scripting.c
parent5cf92c8b3dc5da59e05dc81bdc069cedf6f38313 (diff)
sound: fix check for error condition of register_chrdev()
init_oss_soundcore() compares returned value of register_chrdev() with -1, while other error codes can be returned. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions