diff options
author | Daniele Ceraolo Spurio <[email protected]> | 2018-11-08 16:40:13 -0800 |
---|---|---|
committer | Daniele Ceraolo Spurio <[email protected]> | 2018-11-09 11:42:00 -0800 |
commit | eef4670eadcfcf4bc444be89d8a1fb1ad3c8dc4d (patch) | |
tree | 64cd727a9592f24ceb805d2b1c4a85c8f9a392c0 /scripts/bpf_helpers_doc.py | |
parent | cf303a41d97e3fd5c70c5d8a61a11ce7db7e559f (diff) |
drm/i915/query: fix subslice length
We dump the info as an array of u8, so we want to know the length
in number of bytes. Current code is still safe because the
variable we use BITS_PER_TYPE on is a u8.
Cc: Lionel Landwerlin <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions