aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2016-01-04 16:13:21 +1100
committerDave Chinner <[email protected]>2016-01-04 16:13:21 +1100
commita841b64df29b4c7e68ce564d752dfb2042db5404 (patch)
tree23345028be9659e59719c0744e85ff79b7124bd7 /tools/perf/util/trace-event-scripting.c
parentc5ab131ba0df8c1f1f52ffa6214d60aafeeddbd0 (diff)
XFS: Use a signed return type for suffix_kstrtoint()
The return type "unsigned long" was used by the suffix_kstrtoint() function even though it will eventually return a negative error code. Improve this implementation detail by using the type "int" instead. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Reviewed-by: Eric Sandeen <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions