linux-stable/arch/xtensa/platforms/iss
Markus Elfring 5e78e465ab xtensa: ISS: Use kmalloc_array() in simdisk_init()
* 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.

* Replace the specification of a data type 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: Max Filippov <jcmvbkbc@gmail.com>
2017-05-08 14:53:29 -07:00
..
include/platform xtensa: ISS: define simc_exit and use it instead of inline asm 2016-09-20 18:53:00 -07:00
console.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
Makefile xtensa: ISS: don't depend on CONFIG_TTY 2014-05-05 09:04:10 -07:00
network.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
setup.c xtensa: ISS: define simc_exit and use it instead of inline asm 2016-09-20 18:53:00 -07:00
simdisk.c xtensa: ISS: Use kmalloc_array() in simdisk_init() 2017-05-08 14:53:29 -07:00