aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTobin C. Harding <[email protected]>2017-03-22 11:59:52 +1100
committerGreg Kroah-Hartman <[email protected]>2017-03-23 14:27:23 +0100
commit58af272b333eeba428ca53b5b80dbbcf120fe57a (patch)
tree0c8c3ec2b2faf1bdf4eafb75ea31fbdf26873824 /tools/perf/scripts/python
parent12eed2f2fb8ff7623295a5f69e22ef247273cd8f (diff)
staging: ks7010: fix memcmp() bug
Call site to memcmp() treats return value as if it were an error code, it is not. If memcmp() finds inputs to be not the same, an error return code should be set explicitly. Correctly handle return value from call to memcmp(), set error code explicitly. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Tobin C. Harding <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions