From: Dan Carpenter Date: Tue, 21 Jan 2014 23:48:43 +0000 (-0800) Subject: fs/compat_ioctl.c: fix an underflow issue (harmless) X-Git-Tag: v3.14-rc1~134^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38316c8ab7f17bc1be8f2898278d5f5131e18bf2;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed