From: Andrey Utkin Date: Thu, 17 Jul 2014 12:18:53 +0000 (+0300) Subject: drivers/char/dsp56k.c: drop check for negativity of unsigned parameter X-Git-Tag: omap-for-v3.17/fixes-against-rc2~168^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=389345cf6d71914b39130b1ea04dab1b7bacf6bd;p=pandora-kernel.git drivers/char/dsp56k.c: drop check for negativity of unsigned parameter [linux-3.16-rc5/drivers/char/dsp56k.c:386]: (style) Checking if unsigned variable 'arg' is less than zero. Source code is if (arg > 31 || arg < 0) return -EINVAL; But static long dsp56k_ioctl(struct file *file, unsigned int cmd, unsigned long arg) Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80411 Reported-by: David Binderman Signed-off-by: Andrey Utkin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed