summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-09-19 09:36:30 +0300
committerGerd Hoffmann <kraxel@redhat.com>2022-09-23 14:16:37 +0300
commit37a78445763a5921bb54e9bad01937d0dfa521c1 (patch)
treee5ae18f435448c714a15e539fedae6a73cbf27d8 /tools/perf/scripts/python/export-to-sqlite.py
parent461a4df2a833bc6d83139ecf117e2f844f38f655 (diff)
downloadlinux-37a78445763a5921bb54e9bad01937d0dfa521c1.tar.xz
virtio-gpu: fix shift wrapping bug in virtio_gpu_fence_event_create()
The ->ring_idx_mask variable is a u64 so static checkers, Smatch in this case, complain if the BIT() is not also a u64. drivers/gpu/drm/virtio/virtgpu_ioctl.c:50 virtio_gpu_fence_event_create() warn: should '(1 << ring_idx)' be a 64 bit type? Fixes: cd7f5ca33585 ("drm/virtio: implement context init: add virtio_gpu_fence_event") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Link: http://patchwork.freedesktop.org/patch/msgid/YygN7jY0GdUSQSy0@kili Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions