diff options
author | Egor Uleyskiy <egor.ulieiskii@gmail.com> | 2015-11-22 12:27:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-11-25 02:30:50 +0300 |
commit | 93a28666a9fadc56fa700e496bb549faf490f3a4 (patch) | |
tree | e29852015323bb3df494a16d8caf9c0e8cba78b1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cad5636db7a28693dbed3268cb1ee4fe7ddaf6b4 (diff) | |
download | linux-93a28666a9fadc56fa700e496bb549faf490f3a4.tar.xz |
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 <egor.ulieiskii@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions