summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-03-22 03:59:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-23 16:27:23 +0300
commit58af272b333eeba428ca53b5b80dbbcf120fe57a (patch)
tree0c8c3ec2b2faf1bdf4eafb75ea31fbdf26873824 /scripts/gdb/linux/utils.py
parent12eed2f2fb8ff7623295a5f69e22ef247273cd8f (diff)
downloadlinux-58af272b333eeba428ca53b5b80dbbcf120fe57a.tar.xz
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions