summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSam Muhammed <jane.pnx9@gmail.com>2020-03-25 17:26:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-25 21:38:40 +0300
commitedf279abbac989ebd70c954bf1cd5a25157a78e5 (patch)
tree283e1f62897660bfa5404a5b279b973002f79fb1 /tools/perf/scripts/python/stackcollapse.py
parentdbec450e2d522815fb16dd96aff4c244001eddf8 (diff)
downloadlinux-edf279abbac989ebd70c954bf1cd5a25157a78e5.tar.xz
Staging: kpc2000: kpc_dma: Use kcalloc over kzalloc.
Replace kzalloc(sizeof(...) * n, ...) with kcalloc(n, sizeof(...), ...) since kcalloc is the preferred API in case of allocating with multiply. Checkpatch.pl: WARNING: Prefer kcalloc over kzalloc with multiply. Signed-off-by: Sam Muhammed <jane.pnx9@gmail.com> Link: https://lore.kernel.org/r/4b8339d1e81e497c3c2f0dad57a9587338ec82b1.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