summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-06-17 17:03:31 -0500
committerChris Wilson <chris@chris-wilson.co.uk>2020-06-19 10:17:42 +0100
commitbf3c508375069c9e0b57d8453f99ec26e95b6548 (patch)
tree0bfdfdae7bdb95228c2aa0e9ed4073705f67ea24 /tools/perf/scripts/python/export-to-postgresql.py
parent810b7ee3008ab2ac94791f75857815484c2f9cce (diff)
drm/i915/query: Use struct_size() helper
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: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20200617220331.GA19550@embeddedor
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions