Re: [PATCH] dma-buf: cleanup dma_fence_chain_walk

2022-05-25 Thread Daniel Vetter
On Wed, May 18, 2022 at 10:54:46AM +0200, Christian König wrote: > Use unrcu_pointer() instead of the manual cast. > > Signed-off-by: Christian König TIL about unrcu_pointer, and also that entire code here freaks me out. But at least this seems more with what other users of similar xchg and cmpx

[PATCH] dma-buf: cleanup dma_fence_chain_walk

2022-05-18 Thread Christian König
Use unrcu_pointer() instead of the manual cast. Signed-off-by: Christian König --- drivers/dma-buf/dma-fence-chain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma-buf/dma-fence-chain.c b/drivers/dma-buf/dma-fence-chain.c index 06f8ef97c6e8..a0d920576ba6 100