diff options
| author | Ville Syrjälä <[email protected]> | 2017-11-02 20:03:35 +0000 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2017-11-09 18:34:21 +0000 |
| commit | 563eaf53317f2511f78217a1f8d785b8c8ed1cad (patch) | |
| tree | dd5d7a00d93505f93fba632b6f027c7cc2a944c8 /drivers/gpu/drm/drm_framebuffer.c | |
| parent | dma-buf/fence: Sparse wants __rcu on the object itself (diff) | |
| download | kernel-563eaf53317f2511f78217a1f8d785b8c8ed1cad.tar.gz kernel-563eaf53317f2511f78217a1f8d785b8c8ed1cad.zip | |
drm/syncobj: Use proper methods for accessing rcu protected pointers
Use rcu_dereference_protected() and rcu_assign_pointer() for accessing
the rcu protected syncobj->fence pointer. This eliminates several sparse
warnings.
Cc: Dave Airlie <[email protected]>
Cc: Jason Ekstrand <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Alex Deucher <[email protected]>
Cc: Christian König <[email protected]>
Cc: Sumit Semwal <[email protected]>
Cc: Chris Wilson <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]>
Acked-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/drm_framebuffer.c')
0 files changed, 0 insertions, 0 deletions
