aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorLuis de Bethencourt <[email protected]>2015-10-19 21:18:24 +0100
committerNicholas Bellinger <[email protected]>2015-11-28 19:32:59 -0800
commit82a819e8fb5f36c2a0e14b92bc820225c484a387 (patch)
tree3c958b36c6bdeeea4953f58b2b8334d6cc617b57 /tools/perf/scripts/python/Perf-Trace-Util/lib
parent6ba4bd297d99ad522a6414001e6837ddaa8753fd (diff)
iscsi-target: return -ENOMEM instead of -1 in case of failed kmalloc()
Smatch complains about returning hard coded error codes, silence this warning. drivers/target/iscsi/iscsi_target_parameters.c:211 iscsi_create_default_params() warn: returning -1 instead of -ENOMEM is sloppy Signed-off-by: Luis de Bethencourt <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions