commit | df6751f3401f86d87158279850aa9bedeef2d504 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sun Apr 09 21:07:14 2017 +0200 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon May 01 22:21:33 2017 -0700 |
tree | aa9066e34bbb6fcdf7dc06ec8085039ec4ca9805 | |
parent | f318aef55fed0968af42ceef3976ee7cd858d845 [diff] |
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>