[PATCH v2 1/9] ACPI-video: Use kmalloc_array() in acpi_video_get_levels()

2017-08-09 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 9 Aug 2017 14:52:25 +0200 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

[PATCH v2 1/9] ACPI-video: Use kmalloc_array() in acpi_video_get_levels()

2017-08-09 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 9 Aug 2017 14:52:25 +0200 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.