summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-10-19 14:19:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 21:25:50 -0800
commit7b64dbf849abdd7e769820e25120758f956a7f13 (patch)
tree34827fb9a211f2858d3a44616d37e0f7df0c15a4 /include/linux/debugobjects.h
parent269ad6e018146dafb70c9a40e546f73752d44db2 (diff)
downloadcachepc-linux-7b64dbf849abdd7e769820e25120758f956a7f13.tar.gz
cachepc-linux-7b64dbf849abdd7e769820e25120758f956a7f13.zip
misc: mic/scif: fix wrap around tests
Signed integer overflow is undefined. Also I added a check for "(offset < 0)" in scif_unregister() because that makes it match the other conditions and because I didn't want to subtract a negative. Fixes: ba612aa8b487 ('misc: mic: SCIF memory registration and unregistration') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions