diff options
author | 2016-09-23 22:30:32 +0200 | |
---|---|---|
committer | 2016-09-24 16:35:24 +0100 | |
commit | 057ac1acdfc4743f066fcefe359385cad00549eb (patch) | |
tree | b5fd619aef3a8ec7bb216422b424c0cf5ceb114d /include/linux/iio | |
parent | iio: accel: mma7660: fix non static symbol warning (diff) | |
download | wireguard-linux-057ac1acdfc4743f066fcefe359385cad00549eb.tar.xz wireguard-linux-057ac1acdfc4743f066fcefe359385cad00549eb.zip |
iio: Use kmalloc_array() in iio_scan_mask_set()
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: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio')
0 files changed, 0 insertions, 0 deletions