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:
b15f027
)
staging: comedi: das1800: prefer kmalloc_array over kmalloc with multiply
author
Chase Southwood
<chase.southwood@gmail.com>
Tue, 20 Jan 2015 02:42:49 +0000
(20:42 -0600)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 11:59:09 +0000
(19:59 +0800)
Checkpatch doesn't like kmalloc with multiply very much:
drivers/staging/comedi/drivers/das1800.c:1377: WARNING: Prefer kmalloc_array over kmalloc with multiply
So this patch swaps that use out for kmalloc_array instead.
Signed-off-by: Chase Southwood <chase.southwood@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found