summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMarkus Elfring2017-01-13 15:25:22 +0100
committerMark Brown2017-01-17 18:35:06 +0000
commit84aa0ba12442fa46f461c491c42efdadf6995c96 (patch)
tree54e4a425c15f97397571fb1f3199ac9d68e2e59a /include/linux/debugobjects.h
parent6ceb3b27b1edd1112f1879cc1f149d39a3da2dc2 (diff)
spi/topcliff-pch: Use kcalloc() in pch_spi_handle_dma()
* Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. * Replace the specification of a data structure 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> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions