aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/spi/spi-fsl-spi.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-01-13 12:28:04 +0100
committerMark Brown <broonie@kernel.org>2017-01-17 18:21:12 +0000
commitf9bdb7fdd2cac17bdc9c344b6036e6939fa087cd (patch)
tree39431fea4995ffe718531c8a6e4f367c2572c67f /drivers/spi/spi-fsl-spi.c
parentMerge remote-tracking branches 'spi/topic/spidev', 'spi/topic/sunxi', 'spi/topic/ti-qspi', 'spi/topic/topcliff-pch' and 'spi/topic/xlp' into spi-next (diff)
downloadwireguard-linux-f9bdb7fdd2cac17bdc9c344b6036e6939fa087cd.tar.xz
wireguard-linux-f9bdb7fdd2cac17bdc9c344b6036e6939fa087cd.zip
spi: Use kcalloc() in spi_register_board_info()
A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse 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: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-spi.c')
0 files changed, 0 insertions, 0 deletions