original_kernel/drivers/clk/bcm
Vaishali Thakkar 4087a5f2e5 clk: bcm/kona: Do not use sizeof on pointer type
When sizeof is applied to a pointer typed expression, it gives
the size of the pointer. So, here do not use sizeof on pointer
type. Also, silent checkpatch.pl by using kmalloc_array over
kmalloc.

Note that this has no effect on runtime because 'parent_names'
is a pointer to a pointer.

Problem found using Coccinelle.

Signed-off-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2016-05-06 11:06:44 -07:00
..
Kconfig
Makefile
clk-bcm63xx.c
clk-bcm281xx.c
clk-bcm2835-aux.c
clk-bcm2835.c
clk-bcm21664.c
clk-cygnus.c
clk-iproc-armpll.c
clk-iproc-asiu.c
clk-iproc-pll.c
clk-iproc.h
clk-kona-setup.c clk: bcm/kona: Do not use sizeof on pointer type 2016-05-06 11:06:44 -07:00
clk-kona.c
clk-kona.h
clk-ns2.c
clk-nsp.c