git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2f17e
)
drivers/char/dsp56k.c: drop check for negativity of unsigned parameter
author
Andrey Utkin
<andrey.krieger.utkin@gmail.com>
Thu, 17 Jul 2014 12:18:53 +0000
(15:18 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:38:37 +0000
(18:38 -0700)
[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>
drivers/char/dsp56k.c
patch
|
blob
|
history
diff --cc
drivers/char/dsp56k.c
Simple merge