* [PATCH RESEND] drm/pagemap_util: Drop the kernel-doc for a member that does not exist
@ 2026-11-23 12:51 ` TAKANO Mitsuhiro
2026-11-23 16:43 ` TAKANO Mitsuhiro
0 siblings, 1 reply; 2+ messages in thread
From: TAKANO Mitsuhiro @ 2026-11-23 12:51 UTC (permalink / raw)
To: dri-devel, Matthew Brost, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann
Cc: Thomas Hellström, Himal Prasad Ghimiray, Honglei Huang,
TAKANO Mitsuhiro, linux-kernel
kernel-doc reports, with or without -Wall:
Warning: include/drm/drm_pagemap_util.h:45 Excess struct member 'peer'
description in 'drm_pagemap_owner_list' (did you mean one of: 'peers')
The struct holds one list member, @peers, documented on the member itself.
The @peer line was added with the struct and refers to no member, so drop
it.
After:
$ scripts/kernel-doc -Wall -none include/drm/drm_pagemap_util.h
(no output)
The warning is not cosmetic in a -Werror build: kernel-doc exits with
status 3 on the file before this change, so a headercheck run with
CONFIG_WERROR=y fails on it.
The other DRM pagemap and gpusvm headers are clean with -Wall as well.
The change and this changelog were written with Hermes Agent
(deepseek-v4.1-flash); I reviewed the change and ran kernel-doc -Wall on
the file before and after. No build was run, as only a comment changes.
Fixes: e44f47a9bf51 ("drm/pagemap_util: Add a utility to assign an owner to a set of interconnected gpus")
Signed-off-by: TAKANO Mitsuhiro <takano32@gmail.com>
---
include/drm/drm_pagemap_util.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/drm/drm_pagemap_util.h b/include/drm/drm_pagemap_util.h
index 19169b42b891..34fa879505d2 100644
--- a/include/drm/drm_pagemap_util.h
+++ b/include/drm/drm_pagemap_util.h
@@ -32,7 +32,6 @@ struct drm_pagemap_peer {
/**
* struct drm_pagemap_owner_list - Keeping track of peers and owners
- * @peer: List of peers.
*
* The owner list defines the scope where we identify peers having fast interconnects
* and a common owner. Typically a driver has a single global owner list to
base-commit: c44104f3642da720164042623e4832836aefdd8e
--
2.53.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH RESEND] drm/pagemap_util: Drop the kernel-doc for a member that does not exist
2026-11-23 12:51 ` [PATCH RESEND] drm/pagemap_util: Drop the kernel-doc for a member that does not exist TAKANO Mitsuhiro
@ 2026-11-23 16:43 ` TAKANO Mitsuhiro
0 siblings, 0 replies; 2+ messages in thread
From: TAKANO Mitsuhiro @ 2026-11-23 16:43 UTC (permalink / raw)
To: dri-devel, Matthew Brost, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann
Cc: Thomas Hellström, Himal Prasad Ghimiray,
Honglei Huang, linux-kernel, TAKANO Mitsuhiro
The first copy of this patch did not reach the archive for over an hour
after I sent it, so I re-sent it in this thread. The first copy has
appeared on dri-devel since then; the two are the same diff, and the only
difference is that this copy also goes to linux-kernel@vger.kernel.org.
TAKANO
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-23 16:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20261123094032.3993177-1-takano32@gmail.com>
2026-11-23 12:51 ` [PATCH RESEND] drm/pagemap_util: Drop the kernel-doc for a member that does not exist TAKANO Mitsuhiro
2026-11-23 16:43 ` TAKANO Mitsuhiro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®