aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hsi/hsi_core.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-04-25 13:56:08 +0200
committerSebastian Reichel <sre@kernel.org>2017-06-08 13:21:43 +0200
commitde7c98eb7c6f72bbfa87afc5b7e2d3b0188a8d83 (patch)
tree8fab4673175bdbd8a2aada86496153dd59399fae /drivers/hsi/hsi_core.c
parentHSI: omap_ssi: Delete an error message for a failed memory allocation in ssi_add_controller() (diff)
downloadlinux-dev-de7c98eb7c6f72bbfa87afc5b7e2d3b0188a8d83.tar.xz
linux-dev-de7c98eb7c6f72bbfa87afc5b7e2d3b0188a8d83.zip
HSI: Use kcalloc() in hsi_register_board_info()
A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/hsi/hsi_core.c')
0 files changed, 0 insertions, 0 deletions