summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-04-09 19:02:38 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2017-05-01 22:21:27 -0700
commit55ec409202ff347d22673d90e01a159d3bd6d9cd (patch)
treef3ea319b1961a0156f1618277babaa318b5420a5 /drivers/lightnvm
parent3829f38169aaf38c764afba852e320d8f3b006de (diff)
downloadlinux-55ec409202ff347d22673d90e01a159d3bd6d9cd.tar.gz
linux-55ec409202ff347d22673d90e01a159d3bd6d9cd.tar.bz2
linux-55ec409202ff347d22673d90e01a159d3bd6d9cd.zip
target: Use kcalloc() in two functions
* 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 data structures 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: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions