summaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2015-09-21 13:33:53 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-09-22 23:14:32 (GMT)
commitcc7514985919238ef7ce94e80f0d0ad87193de47 (patch)
tree27a735aefb700ee880bc7520e9cf5bb6db9ee674 /drivers/sh
parent94926121692381247090b35ec68aed124260f05e (diff)
downloadlinux-cc7514985919238ef7ce94e80f0d0ad87193de47.tar.xz
mwifiex: fix comparison expression
To avoid underflows signed variables should be used in expression. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Acked-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions