1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-26 18:43:33 -05:00
linux/drivers/clk/hisilicon
Markus Elfring 7b9bae176a clk: hisilicon: Use kcalloc() in hisi_clk_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 "kcalloc".

  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: Stephen Boyd <sboyd@codeaurora.org>
2017-04-19 10:20:14 -07:00
..
clk-hi3519.c
clk-hi3620.c
clk-hi3660.c
clk-hi6220-stub.c
clk-hi6220.c clk: hi6220: add debug APB clock 2017-04-12 18:07:31 +02:00
clk-hip04.c
clk-hix5hd2.c
clk.c clk: hisilicon: Use kcalloc() in hisi_clk_init() 2017-04-19 10:20:14 -07:00
clk.h
clkdivider-hi6220.c
clkgate-separated.c
crg-hi3516cv300.c
crg-hi3798cv200.c
crg.h
Kconfig
Makefile
reset.c
reset.h