diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-08-10 08:11:18 +0400 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2013-08-18 21:23:09 +0400 |
commit | 03a174b35cb6064cd670428f8ea811fc2736a3a6 (patch) | |
tree | 79da2c54ccbe78de5dc4f6bd0dfcfbbd56c338db /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 50e37ccea06ca8846ceb60dbfbe056012c60d71b (diff) | |
download | linux-03a174b35cb6064cd670428f8ea811fc2736a3a6.tar.xz |
sony-laptop: return a negative error code in sonypi_compat_init()
Return -1 in the error handling case instead of 0, as done elsewhere in
this function.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions