From: TAKANO Mitsuhiro <takano32@gmail.com>
To: dri-devel@lists.freedesktop.org,
Matthew Brost <matthew.brost@intel.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>
Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
"Himal Prasad Ghimiray" <himal.prasad.ghimiray@intel.com>,
"Honglei Huang" <honghuan@amd.com>,
"TAKANO Mitsuhiro" <takano32@gmail.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH RESEND] drm/pagemap_util: Drop the kernel-doc for a member that does not exist
Date: Mon, 23 Nov 2026 12:51:27 +0000 [thread overview]
Message-ID: <20261123125127.4114196-1-takano32@gmail.com> (raw)
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
next reply other threads:[~2026-11-23 12:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261123094032.3993177-1-takano32@gmail.com>
2026-11-23 12:51 ` TAKANO Mitsuhiro [this message]
2026-11-23 16:43 ` TAKANO Mitsuhiro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261123125127.4114196-1-takano32@gmail.com \
--to=takano32@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=himal.prasad.ghimiray@intel.com \
--cc=honghuan@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=matthew.brost@intel.com \
--cc=mripard@kernel.org \
--cc=thomas.hellstrom@linux.intel.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®