aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2015-12-28 19:22:59 +0900
committerStephen Boyd <[email protected]>2016-02-01 17:01:43 -0800
commit3a6e84545129913613dc1a97bbe8e4f2378696ee (patch)
tree808dbdb6da04c503ced4afac648592628d9ef935 /tools/perf/scripts/python
parent027f942ce44131bc3a11aaae6dbb227f461845b6 (diff)
clk: change sizeof(struct clk *) to sizeof(*core->parents)
Now, the clock parent is not "struct clk *", but "struct clk_core *". Of course, the size of a pointer is always same, but strictly speaking, sizeof(struct clk *) should be sizeof(struct clk_core *) here. This mismatch happened when we split the structure into struct clk and struct clk_core. For the potential possibility of future renaming, sizeof(*core->parents) would be better. Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Vladimir Zapolskiy <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions