summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-03-22 11:59:52 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-23 14:27:23 +0100
commit58af272b333eeba428ca53b5b80dbbcf120fe57a (patch)
tree0c8c3ec2b2faf1bdf4eafb75ea31fbdf26873824 /tools/perf/scripts
parent12eed2f2fb8ff7623295a5f69e22ef247273cd8f (diff)
downloadlinux-58af272b333eeba428ca53b5b80dbbcf120fe57a.tar.gz
linux-58af272b333eeba428ca53b5b80dbbcf120fe57a.zip
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 <dan.carpenter@oracle.com> Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions