diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-17 10:56:32 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-26 20:36:17 +0300 |
commit | e349d4b7317818cbb21096ead26420c80819ddd4 (patch) | |
tree | 1765a3db30c651d5747bf5a81170619ae27b8730 /security | |
parent | 71660223f50036e67a2a66cf55815fa665639d3a (diff) | |
download | linux-e349d4b7317818cbb21096ead26420c80819ddd4.tar.xz |
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 'security')
0 files changed, 0 insertions, 0 deletions