aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-11-06 15:50:39 -0500
committerJ. Bruce Fields <[email protected]>2020-11-08 16:28:25 -0500
commitae2975046dbc65855c217fe6fbd5b33140c5ff18 (patch)
tree55063f517533075f5e84dbd4b8c064f69926f0fe /tools/perf/util/trace-event-scripting.c
parentd435c05ab0197ee302290e1cee3f2d9c9024a64f (diff)
net/sunrpc: fix useless comparison in proc_do_xprt()
In the original code, the "if (*lenp < 0)" check didn't work because "*lenp" is unsigned. Fortunately, the memory_read_from_buffer() call will never fail in this context so it doesn't affect runtime. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions