diff options
author | Andrey Utkin <andrey.krieger.utkin@gmail.com> | 2014-07-17 14:18:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-18 03:38:37 +0200 |
commit | 389345cf6d71914b39130b1ea04dab1b7bacf6bd (patch) | |
tree | 609495e2bb25b871e332d427a4ea9e6de647c762 /drivers/ipack | |
parent | mei: fix return value on disconnect timeout (diff) | |
download | linux-389345cf6d71914b39130b1ea04dab1b7bacf6bd.tar.xz linux-389345cf6d71914b39130b1ea04dab1b7bacf6bd.zip |
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 <dcb314@hotmail.com>
Signed-off-by: Andrey Utkin <andrey.krieger.utkin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ipack')
0 files changed, 0 insertions, 0 deletions