Re: [PATCH] dma-buf: fix compare in WARN_ON_ONCE

2025-06-10 Thread Tvrtko Ursulin
On 05/06/2025 09:53, Christian König wrote: Smatch pointed out this trivial typo: drivers/dma-buf/dma-buf.c:1123 dma_buf_map_attachment() warn: passing positive error code '16' to 'ERR_PTR' drivers/dma-buf/dma-buf.c 1113 dma_resv_assert_held(attach->dmabuf->resv);

Re: [PATCH] dma-buf: fix compare in WARN_ON_ONCE

2025-06-10 Thread Christian König
Gentle ping, can anybody give me a quick rb for this trivial fix? Thanks, Christian. On 6/5/25 10:53, Christian König wrote: > Smatch pointed out this trivial typo: > drivers/dma-buf/dma-buf.c:1123 dma_buf_map_attachment() > warn: passing positive error code '16' to 'ERR_PTR' > > dri

[PATCH] dma-buf: fix compare in WARN_ON_ONCE

2025-06-05 Thread Christian König
Smatch pointed out this trivial typo: drivers/dma-buf/dma-buf.c:1123 dma_buf_map_attachment() warn: passing positive error code '16' to 'ERR_PTR' drivers/dma-buf/dma-buf.c 1113 dma_resv_assert_held(attach->dmabuf->resv); 1114 1115 if (dma_buf_pin_on_map(