diff options
author | 2016-04-28 19:20:33 +0530 | |
---|---|---|
committer | 2016-05-06 11:06:44 -0700 | |
commit | 4087a5f2e5e75a6d0231d1318bada1a12972a5fd (patch) | |
tree | ee8d094705483e5fcd5b1af27ca4f7f847a696b3 /tools/perf/scripts/python | |
parent | clk: qcom: msm8916: Fix crypto clock flags (diff) | |
download | wireguard-linux-4087a5f2e5e75a6d0231d1318bada1a12972a5fd.tar.xz wireguard-linux-4087a5f2e5e75a6d0231d1318bada1a12972a5fd.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions