summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-06-18 00:11:35 +0300
committerVinod Koul <vkoul@kernel.org>2020-06-24 08:56:23 +0300
commit999a32efed09d724c426568731c5691233d3a680 (patch)
tree47624246be291b7d2636f84d84f624162c2b583b /tools/perf/scripts/python/exported-sql-viewer.py
parent09c16edc5a3dc2bcfa8a93ddbeec59793e3b414d (diff)
downloadlinux-999a32efed09d724c426568731c5691233d3a680.tar.xz
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 <gustavoars@kernel.org> Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com> Link: https://lore.kernel.org/r/20200617211135.GA8660@embeddedor Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions