aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2020-06-17 17:03:31 -0500
committerChris Wilson <[email protected]>2020-06-19 10:17:42 +0100
commitbf3c508375069c9e0b57d8453f99ec26e95b6548 (patch)
tree0bfdfdae7bdb95228c2aa0e9ed4073705f67ea24 /tools/perf/scripts/python/sched-migration.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 <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20200617220331.GA19550@embeddedor
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions