commit | bff776931e6589192f07f22e1ec17b8eb878bd1a | [log] [tgz] |
---|---|---|
author | Chase Southwood <chase.southwood@gmail.com> | Mon Jan 19 20:42:49 2015 -0600 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 25 19:59:09 2015 +0800 |
tree | c6c058f14b055227a4a058365e8ab5d7eb115fff | |
parent | b15f0277d75530d0c2e77c9dc7bc22dca137cf18 [diff] |
staging: comedi: das1800: prefer kmalloc_array over kmalloc with multiply 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>