diff options
author | Egor Uleyskiy <[email protected]> | 2015-11-22 11:27:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2015-11-24 15:30:50 -0800 |
commit | 93a28666a9fadc56fa700e496bb549faf490f3a4 (patch) | |
tree | e29852015323bb3df494a16d8caf9c0e8cba78b1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | cad5636db7a28693dbed3268cb1ee4fe7ddaf6b4 (diff) |
drivers: staging: vme: Fixed the using of sizeof
Constructions that looks like
card = kzalloc(sizeof(struct pio2_card), GFP_KERNEL);
are changed to
card = kzalloc(sizeof(*card), GFP_KERNEL);
Signed-off-by: Egor Uleyskiy <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions