summaryrefslogtreecommitdiffstats
path: root/drivers/dma/sirf-dma.c
diff options
context:
space:
mode:
authorMarkus Elfring2016-09-17 09:56:32 +0200
committerVinod Koul2016-09-26 19:36:17 +0200
commite349d4b7317818cbb21096ead26420c80819ddd4 (patch)
tree1765a3db30c651d5747bf5a81170619ae27b8730 /drivers/dma/sirf-dma.c
parentste_dma40: Improve a size determination in d40_of_probe() (diff)
downloadkernel-qcow2-linux-e349d4b7317818cbb21096ead26420c80819ddd4.tar.gz
kernel-qcow2-linux-e349d4b7317818cbb21096ead26420c80819ddd4.tar.xz
kernel-qcow2-linux-e349d4b7317818cbb21096ead26420c80819ddd4.zip
ste_dma40: Replace four kzalloc() calls by kcalloc() in d40_hw_detect_init()
* The script "checkpatch.pl" can point information out like the following. WARNING: Prefer kcalloc over kzalloc with multiply Thus fix the affected source code places. * Replace the specification of data types by pointer dereferences to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sirf-dma.c')
0 files changed, 0 insertions, 0 deletions