aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2020-06-17 16:11:35 -0500
committerVinod Koul <[email protected]>2020-06-24 11:26:23 +0530
commit999a32efed09d724c426568731c5691233d3a680 (patch)
tree47624246be291b7d2636f84d84f624162c2b583b /tools/perf/scripts/python/stackcollapse.py
parent09c16edc5a3dc2bcfa8a93ddbeec59793e3b414d (diff)
dmaengine: hisilicon: Use struct_size() in devm_kzalloc()
Make use of the struct_size() helper instead of an open-coded version in order to avoid any potential type mistakes. This code was detected with the help of Coccinelle and, audited and fixed manually. Signed-off-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Zhou Wang <[email protected]> Link: https://lore.kernel.org/r/20200617211135.GA8660@embeddedor Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions