aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-11-11 14:05:13 -0800
committerLinus Torvalds <[email protected]>2010-11-12 07:55:31 -0800
commitaec04288904a7308f2900926902040e7a69ae2be (patch)
treedc897e5ee40107d92216a930494138a12706eb95 /tools/perf/util/scripting-engines/trace-event-perl.c
parentd2e61b8dc99fdb36e0fd176e25365f69afda4ff9 (diff)
drivers/misc/bh1770glc.c: error handling in bh1770_power_state_store()
There was a signedness bug so "ret" was never less than zero and that breaks the error handling. Also in the original code it would overwrite ret and the result is still negative but it's bogus number instead of the correct error code. Signed-off-by: Dan Carpenter <[email protected]> Cc: Samu Onkalo <[email protected]> Cc: Jonathan Cameron <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions