diff options
| author | 2017-07-09 00:45:59 -0500 | |
|---|---|---|
| committer | 2017-07-16 08:40:57 +0200 | |
| commit | 4a73bb48ded88adfc7180cb5a00a0b89dd41c7fb (patch) | |
| tree | d0a8fff795b8f50035bc1a069a87c6297b08de18 /tools/perf/scripts | |
| parent | staging: ccree: remove unnecessary cast on kmalloc (diff) | |
staging: ccree: use sizeof(*var) in kmalloc
Fix the following checkpatch warning:
CHECK: Prefer kmalloc(sizeof(*buff_mgr_handle)...)
over kmalloc(sizeof(struct buff_mgr_handle)...)
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
