summaryrefslogtreecommitdiffstats
path: root/Documentation/target/target-export-device
diff options
context:
space:
mode:
authorMarkus Elfring2017-04-09 21:07:14 +0200
committerNicholas Bellinger2017-05-02 07:21:33 +0200
commitdf6751f3401f86d87158279850aa9bedeef2d504 (patch)
treeaa9066e34bbb6fcdf7dc06ec8085039ec4ca9805 /Documentation/target/target-export-device
parenttarget: Use kmalloc_array() in compare_and_write_callback() (diff)
downloadkernel-qcow2-linux-df6751f3401f86d87158279850aa9bedeef2d504.tar.gz
kernel-qcow2-linux-df6751f3401f86d87158279850aa9bedeef2d504.tar.xz
kernel-qcow2-linux-df6751f3401f86d87158279850aa9bedeef2d504.zip
target: Use kmalloc_array() in transport_kmap_data_sg()
A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'Documentation/target/target-export-device')
0 files changed, 0 insertions, 0 deletions