diff options
author | Egor Uleyskiy <egor.ulieiskii@gmail.com> | 2015-11-22 09:27:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-11-24 23:30:50 (GMT) |
commit | 93a28666a9fadc56fa700e496bb549faf490f3a4 (patch) | |
tree | e29852015323bb3df494a16d8caf9c0e8cba78b1 /drivers/media/rc | |
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 'drivers/media/rc')
0 files changed, 0 insertions, 0 deletions