Tag: 4087a5f2e5e75a6d0231d1318bada1a12972a5fd

clk: bcm/kona: Do not use sizeof on pointer type

Author: Vaishali Thakkar <vaishali.thakkar@oracle.com> 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 …

Continue reading