summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-07-25 20:00:20 +0800
committerJens Axboe <axboe@kernel.dk>2020-07-25 07:38:20 -0600
commit29f1d5caced9c2db96f169422bade787ff45d584 (patch)
tree6643613d2f2c57424832af77742b92bb480dd3a7 /tools/perf/scripts/python/exported-sql-viewer.py
parent6706ad56436c9d54c9e5812aabe25186b43b4199 (diff)
bcache: Use struct_size() in 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> Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions