summaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-01-22 00:48:43 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-22 01:19:42 +0100
commit38316c8ab7f17bc1be8f2898278d5f5131e18bf2 (patch)
treeb712b7206791c79a5a3c8660b16b0934f90d5949 /tools/power
parentposix_acl: uninlining (diff)
downloadlinux-38316c8ab7f17bc1be8f2898278d5f5131e18bf2.tar.xz
linux-38316c8ab7f17bc1be8f2898278d5f5131e18bf2.zip
fs/compat_ioctl.c: fix an underflow issue (harmless)
We cap "nmsgs" at I2C_RDRW_IOCTL_MAX_MSGS (42) but the current code allows negative values. It's harmless but it makes my static checker upset so I've made nsmgs unsigned. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/power')
0 files changed, 0 insertions, 0 deletions