diff options
author | Emil Medve <[email protected]> | 2015-01-21 04:03:25 -0600 |
---|---|---|
committer | Michael Turquette <[email protected]> | 2015-01-28 10:11:39 -0800 |
commit | 13c25f57d4fc80648eba2951f52b5d0e1c1f63ab (patch) | |
tree | fb100ae12e187bc0e300a878302848c3634c92aa /tools/perf/scripts/python/net_dropmonitor.py | |
parent | a92472259775340f082c221d80afd80877f41b2b (diff) |
clk: qoriq: Fix checkpatch type ALLOC_SIZEOF_STRUCT
CHECK:ALLOC_SIZEOF_STRUCT: Prefer kzalloc(sizeof(*cmux_clk)...) over kzalloc(sizeof(struct cmux_clk)...)
+ cmux_clk = kzalloc(sizeof(struct cmux_clk), GFP_KERNEL);
CHECK:ALLOC_SIZEOF_STRUCT: Prefer kzalloc(sizeof(*onecell_data)...) over kzalloc(sizeof(struct clk_onecell_data)...)
+ onecell_data = kzalloc(sizeof(struct clk_onecell_data), GFP_KERNEL);
Signed-off-by: Emil Medve <[email protected]>
Signed-off-by: Michael Turquette <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions