linux-sg2042/drivers/clk/renesas
Markus Elfring 0637a4c781 clk/Renesas-MSTP: Use kmalloc_array() in cpg_mstp_clocks_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.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2016-09-16 16:13:09 -07:00
..
Kconfig clk: renesas: Add R8A7792 support 2016-06-21 09:19:41 +02:00
Makefile clk: renesas: Add R8A7792 support 2016-06-21 09:19:41 +02:00
clk-div6.c
clk-div6.h clk: renesas: div6: use RENESAS for #define 2016-03-15 18:13:02 -07:00
clk-emev2.c
clk-mstp.c clk/Renesas-MSTP: Use kmalloc_array() in cpg_mstp_clocks_init() 2016-09-16 16:13:09 -07:00
clk-r8a73a4.c clk: renesas: Rename header file renesas.h 2016-03-15 18:12:14 -07:00
clk-r8a7740.c clk: renesas: Rename header file renesas.h 2016-03-15 18:12:14 -07:00
clk-r8a7778.c clk: renesas: Rename header file renesas.h 2016-03-15 18:12:14 -07:00
clk-r8a7779.c clk: renesas: Rename header file renesas.h 2016-03-15 18:12:14 -07:00
clk-rcar-gen2.c clk: renesas: Rename header file renesas.h 2016-03-15 18:12:14 -07:00
clk-rz.c clk: renesas: rz: Select EXTAL vs USB clock 2016-09-05 14:16:25 +02:00
clk-sh73a0.c clk: renesas: Rename header file renesas.h 2016-03-15 18:12:14 -07:00
r8a7795-cpg-mssr.c clk: renesas: Updates for v4.9 (take three) 2016-09-14 11:15:03 -07:00
r8a7796-cpg-mssr.c clk: renesas: r8a7796: Add CMT clocks 2016-09-12 11:08:01 +02:00
rcar-gen3-cpg.c clk: renesas: cpg-mssr: Extract common R-Car Gen3 support code 2016-06-06 11:58:31 +02:00
rcar-gen3-cpg.h clk: renesas: cpg-mssr: Extract common R-Car Gen3 support code 2016-06-06 11:58:31 +02:00
renesas-cpg-mssr.c clk: renesas: cpg-mssr: Add support for R-Car M3-W 2016-06-06 11:58:35 +02:00
renesas-cpg-mssr.h clk: renesas: cpg-mssr: Add support for R-Car M3-W 2016-06-06 11:58:35 +02:00