public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] dma-buf: fix htmldocs error for dma_buf_attach_revocable
@ 2026-04-10 12:37 Sumit Semwal
  2026-04-10 12:43 ` Christian König
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sumit Semwal @ 2026-04-10 12:37 UTC (permalink / raw)
  To: christian.koenig
  Cc: leon, broonie, linux-media, dri-devel, linux-kernel, linux-next,
	Sumit Semwal

linux-next testing showed this htmldoc error due to a missing extra
line in the comments; add it.

Fixes: be6d4c9e9d714 ("dma-buf: Add dma_buf_attach_revocable()")
Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
---
 drivers/dma-buf/dma-buf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
index a202a308c079..532c3f14bf9d 100644
--- a/drivers/dma-buf/dma-buf.c
+++ b/drivers/dma-buf/dma-buf.c
@@ -1353,6 +1353,7 @@ EXPORT_SYMBOL_NS_GPL(dma_buf_attach_revocable, "DMA_BUF");
  * Upon return importers may continue to access the DMA-buf memory. The caller
  * must do two additional waits to ensure that the memory is no longer being
  * accessed:
+ *
  *  1) Until dma_resv_wait_timeout() retires fences the importer is allowed to
  *     fully access the memory.
  *  2) Until the importer calls unmap it is allowed to speculatively
-- 
2.51.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] dma-buf: fix htmldocs error for dma_buf_attach_revocable
  2026-04-10 12:37 [PATCH] dma-buf: fix htmldocs error for dma_buf_attach_revocable Sumit Semwal
@ 2026-04-10 12:43 ` Christian König
  2026-04-10 14:06   ` Sumit Semwal
  2026-04-11 23:39 ` Claude review: " Claude Code Review Bot
  2026-04-11 23:39 ` Claude Code Review Bot
  2 siblings, 1 reply; 5+ messages in thread
From: Christian König @ 2026-04-10 12:43 UTC (permalink / raw)
  To: Sumit Semwal
  Cc: leon, broonie, linux-media, dri-devel, linux-kernel, linux-next

On 4/10/26 14:37, Sumit Semwal wrote:
> linux-next testing showed this htmldoc error due to a missing extra
> line in the comments; add it.
> 
> Fixes: be6d4c9e9d714 ("dma-buf: Add dma_buf_attach_revocable()")
> Reported-by: Mark Brown <broonie@kernel.org>
> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>

Reviewed-by: Christian König <christian.koenig@amd.com>

> ---
>  drivers/dma-buf/dma-buf.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
> index a202a308c079..532c3f14bf9d 100644
> --- a/drivers/dma-buf/dma-buf.c
> +++ b/drivers/dma-buf/dma-buf.c
> @@ -1353,6 +1353,7 @@ EXPORT_SYMBOL_NS_GPL(dma_buf_attach_revocable, "DMA_BUF");
>   * Upon return importers may continue to access the DMA-buf memory. The caller
>   * must do two additional waits to ensure that the memory is no longer being
>   * accessed:
> + *
>   *  1) Until dma_resv_wait_timeout() retires fences the importer is allowed to
>   *     fully access the memory.
>   *  2) Until the importer calls unmap it is allowed to speculatively


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] dma-buf: fix htmldocs error for dma_buf_attach_revocable
  2026-04-10 12:43 ` Christian König
@ 2026-04-10 14:06   ` Sumit Semwal
  0 siblings, 0 replies; 5+ messages in thread
From: Sumit Semwal @ 2026-04-10 14:06 UTC (permalink / raw)
  To: Christian König
  Cc: leon, broonie, linux-media, dri-devel, linux-kernel, linux-next

Hi Christian,

On Fri, 10 Apr 2026 at 18:14, Christian König <christian.koenig@amd.com> wrote:
>
> On 4/10/26 14:37, Sumit Semwal wrote:
> > linux-next testing showed this htmldoc error due to a missing extra
> > line in the comments; add it.
> >
> > Fixes: be6d4c9e9d714 ("dma-buf: Add dma_buf_attach_revocable()")
> > Reported-by: Mark Brown <broonie@kernel.org>
> > Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
>
> Reviewed-by: Christian König <christian.koenig@amd.com>

Thank you; pushed to drm-misc-next-fixes!

Best,
Sumit
>
> > ---
> >  drivers/dma-buf/dma-buf.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
> > index a202a308c079..532c3f14bf9d 100644
> > --- a/drivers/dma-buf/dma-buf.c
> > +++ b/drivers/dma-buf/dma-buf.c
> > @@ -1353,6 +1353,7 @@ EXPORT_SYMBOL_NS_GPL(dma_buf_attach_revocable, "DMA_BUF");
> >   * Upon return importers may continue to access the DMA-buf memory. The caller
> >   * must do two additional waits to ensure that the memory is no longer being
> >   * accessed:
> > + *
> >   *  1) Until dma_resv_wait_timeout() retires fences the importer is allowed to
> >   *     fully access the memory.
> >   *  2) Until the importer calls unmap it is allowed to speculatively
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Claude review: dma-buf: fix htmldocs error for dma_buf_attach_revocable
  2026-04-10 12:37 [PATCH] dma-buf: fix htmldocs error for dma_buf_attach_revocable Sumit Semwal
  2026-04-10 12:43 ` Christian König
  2026-04-11 23:39 ` Claude review: " Claude Code Review Bot
@ 2026-04-11 23:39 ` Claude Code Review Bot
  2 siblings, 0 replies; 5+ messages in thread
From: Claude Code Review Bot @ 2026-04-11 23:39 UTC (permalink / raw)
  To: dri-devel-reviews

Overall Series Review

Subject: dma-buf: fix htmldocs error for dma_buf_attach_revocable
Author: Sumit Semwal <sumit.semwal@linaro.org>
Patches: 3
Reviewed: 2026-04-12T09:39:23.643607

---

This is a trivial single-patch series that fixes a kernel-doc (htmldocs) formatting error introduced by commit `be6d4c9e9d714` ("dma-buf: Add dma_buf_attach_revocable()"). The fix is correct and minimal — it adds a single blank comment line between a paragraph and a numbered list in the `dma_buf_invalidate_mappings()` kernel-doc comment, which is required by the RST/kernel-doc parser to properly render the list.

The patch is well-formed: it has appropriate Fixes tag, Reported-by, and Signed-off-by. No concerns.

**Verdict: Looks good to merge.**

---
Generated by Claude Code Patch Reviewer

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Claude review: dma-buf: fix htmldocs error for dma_buf_attach_revocable
  2026-04-10 12:37 [PATCH] dma-buf: fix htmldocs error for dma_buf_attach_revocable Sumit Semwal
  2026-04-10 12:43 ` Christian König
@ 2026-04-11 23:39 ` Claude Code Review Bot
  2026-04-11 23:39 ` Claude Code Review Bot
  2 siblings, 0 replies; 5+ messages in thread
From: Claude Code Review Bot @ 2026-04-11 23:39 UTC (permalink / raw)
  To: dri-devel-reviews

Patch Review

**Status: Looks good (Reviewed-by worthy)**

The problem: In the kernel-doc comment for `dma_buf_invalidate_mappings()`, the text:

```c
 * accessed:
 *  1) Until dma_resv_wait_timeout() ...
```

is missing a blank comment line between the paragraph ending in `:` and the start of the numbered list. The RST parser doesn't recognize the numbered list without that separator.

The fix adds the required blank `*` line:

```c
 * accessed:
 *
 *  1) Until dma_resv_wait_timeout() ...
```

This is the standard kernel-doc convention — a blank `*` line is needed before a list block for proper RST rendering. I confirmed the current tree at `drivers/dma-buf/dma-buf.c:1355-1356` has exactly this missing blank line.

**Minor nit (non-blocking):** The subject says "for dma_buf_attach_revocable" but the comment being fixed is actually on `dma_buf_invalidate_mappings()`. The Fixes tag correctly points to the commit that introduced the problematic comment, but the subject could be slightly more precise as "fix htmldocs error for dma_buf_invalidate_mappings". This is cosmetic and not worth a respin.

No functional or correctness issues. The patch is trivially correct.

---
Generated by Claude Code Patch Reviewer

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-04-11 23:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 12:37 [PATCH] dma-buf: fix htmldocs error for dma_buf_attach_revocable Sumit Semwal
2026-04-10 12:43 ` Christian König
2026-04-10 14:06   ` Sumit Semwal
2026-04-11 23:39 ` Claude review: " Claude Code Review Bot
2026-04-11 23:39 ` Claude Code Review Bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox