summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorJason Ekstrand <jason@jlekstrand.net>2022-08-02 16:01:58 -0500
committerChristian König <christian.koenig@amd.com>2022-11-18 20:07:58 +0100
commitc19083c72ea72a1c12037bb3d708014632df80e4 (patch)
treeb285cb8a9867070080c5ca4f66a92b2a8ed7f95e /drivers/rpmsg
parentb09d6acba1d9a23963fedf96b4191502a4fec25d (diff)
downloadlinux-stable-c19083c72ea72a1c12037bb3d708014632df80e4.tar.gz
linux-stable-c19083c72ea72a1c12037bb3d708014632df80e4.tar.bz2
linux-stable-c19083c72ea72a1c12037bb3d708014632df80e4.zip
dma-buf: Use dma_fence_unwrap_for_each when importing fences
Ever since 68129f431faa ("dma-buf: warn about containers in dma_resv object"), dma_resv_add_shared_fence will warn if you attempt to add a container fence. While most drivers were fine, fences can also be added to a dma_resv via the recently added DMA_BUF_IOCTL_IMPORT_SYNC_FILE. Use dma_fence_unwrap_for_each to add each fence one at a time. Fixes: 594740497e99 ("dma-buf: Add an API for importing sync files (v10)") Signed-off-by: Jason Ekstrand <jason.ekstrand@collabora.com> Reported-by: Sarah Walker <Sarah.Walker@imgtec.com> Reviewed-by: Christian König <christian.koenig@amd.com> CC: stable@vger.kernel.org Link: https://patchwork.freedesktop.org/patch/msgid/20220802210158.4162525-1-jason.ekstrand@collabora.com Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions