[PATCH bpf-next v3 2/5] bpf: Add dmabuf iterator

Alexei Starovoitov alexei.starovoitov at gmail.com
Wed May 7 14:14:03 UTC 2025


On Tue, May 6, 2025 at 5:10 PM T.J. Mercier <tjmercier at google.com> wrote:
>
> +/**
> + * get_first_dmabuf - begin iteration through global list of DMA-bufs
> + *
> + * Returns the first buffer in the global list of DMA-bufs that's not in the
> + * process of being destroyed. Increments that buffer's reference count to
> + * prevent buffer destruction. Callers must release the reference, either by
> + * continuing iteration with get_next_dmabuf(), or with dma_buf_put().
> + *
> + * Returns NULL If no active buffers are present.
> + */

kdoc wants to see 'Return:'.

See errors in BPF CI.

And patch 5 shouldn't be using /** for plain comments.

pw-bot: cr


More information about the dri-devel mailing list