diff options
author | Sam Muhammed <jane.pnx9@gmail.com> | 2020-03-25 17:26:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-25 21:38:39 +0300 |
commit | 5122be4f4fc69e507c874823efcef24e14634614 (patch) | |
tree | 54bdc3102c25b6807cab00de7eddfbead23674d2 /tools/perf/scripts/python/stackcollapse.py | |
parent | 0af192c755bdfe0476d3ffc99e8483644c026deb (diff) | |
download | linux-5122be4f4fc69e507c874823efcef24e14634614.tar.xz |
Staging: kpc2000: kpc_dma: Use sizeof(*var) in kzalloc().
kzalloc(sizeof(*var), ...) was the format been used
across the driver, which is the preferred format,
but missed two instances, correct them to match the
coding standards.
Checkpatch.pl CHECK: Prefer kzalloc(sizeof(*var)...)
over kzalloc(sizeof(struct var)...)
Signed-off-by: Sam Muhammed <jane.pnx9@gmail.com>
Link: https://lore.kernel.org/r/bbb3adbd20ae89db6a0d3360bc09d22eed778e86.1585143581.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions