linux/drivers/hsi
Markus Elfring 1be0593f05 HSI: nokia-modem: Use devm_kcalloc() in nokia_modem_gpio_probe()
* A multiplication for the size determination of a memory allocation
  indicated that an array data structure should be processed.
  Thus use the corresponding function "devm_kcalloc".

  This issue was detected by using the Coccinelle software.

* Replace the specification of a data structure by a pointer dereference
  to make the corresponding size determination a bit safer according to
  the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
2017-06-08 13:21:43 +02:00
..
clients HSI: nokia-modem: Use devm_kcalloc() in nokia_modem_gpio_probe() 2017-06-08 13:21:43 +02:00
controllers HSI: omap_ssi: drop pm_runtime_irq_safe 2016-06-28 00:40:08 +02:00
hsi_boardinfo.c HSI: hsi: Introducing HSI framework 2012-01-05 15:42:13 +02:00
hsi_core.c HSI: core: switch port event notifier from atomic to blocking 2016-06-28 00:38:53 +02:00
hsi_core.h HSI: hsi: Introducing HSI framework 2012-01-05 15:42:13 +02:00
Kconfig HSI: Introduce OMAP SSI driver 2014-05-16 00:54:51 +02:00
Makefile hsi: Build hsi_boardinfo.c into hsi core if enabled 2016-06-15 16:02:50 +02:00