diff options
| author | Luca Coelho <[email protected]> | 2024-05-28 14:29:01 +0300 |
|---|---|---|
| committer | Suraj Kandpal <[email protected]> | 2024-05-30 16:08:05 +0530 |
| commit | ed43c40e1f10e0ee1d49b841ee35b23a3a7113ee (patch) | |
| tree | bfaae8550e4f7b7190dd5016173b53b759bdf09b /tools/perf/scripts/python/netdev-times.py | |
| parent | b2c2f2df6f01174eefc1ea2aa9aef8b1a6c69575 (diff) | |
drm/i915: move uapi.event outside spinlock in intel_crtc_vblank_work
In intel_crtc_vblank_work(), we access uapi.event before grabbing the
event_lock spinlock, but modify it inside the spinlock block. This
causes some static analyzers to get confused and issue a warning.
The uapi.event value is not protected by the event_lock, so we can
safely move it out of the protected block to prevent false positives.
Signed-off-by: Luca Coelho <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Suraj Kandpal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions