aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSanidhya Kashyap <[email protected]>2015-04-16 12:48:32 -0700
committerLinus Torvalds <[email protected]>2015-04-17 09:04:09 -0400
commitc3fe5872eb3f5f9e027d61d8a3f5d092168fdbca (patch)
tree2d15193ba9e3d329e58f5c3b38c89dd0930b68e2 /tools/perf/util/scripting-engines/trace-event-python.c
parent8f7d3f0f1ed5dce6ea7b833ec19cabe61a6e7ff8 (diff)
bfs: correct return values
In case of failed memory allocation, the return should be ENOMEM instead of ENOSPC. Return -EIO when sb_bread() fails. Signed-off-by: Sanidhya Kashyap <[email protected]> Cc: Tigran Aivazian <[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-python.c')
0 files changed, 0 insertions, 0 deletions