From: Randy Dunlap <rdunlap@infradead.org>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
Geoff Levand <geoff@infradead.org>,
Madhavan Srinivasan <maddy@linux.ibm.com>,
Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
linuxppc-dev@lists.ozlabs.org
Subject: [PATCH 1/4] powerpc/ps3: platform.h: fix enum ps3_spu_resource_type kernel-doc
Date: Mon, 31 Aug 2026 23:33:51 -0700 [thread overview]
Message-ID: <20260901063354.4012138-2-rdunlap@infradead.org> (raw)
In-Reply-To: <20260901063354.4012138-1-rdunlap@infradead.org>
Use the correct enum name and member names to eliminate kernel-doc
warnings:
Warning: arch/powerpc/platforms/ps3/platform.h:240 expecting prototype for
enum spu_resource_type. Prototype was for enum ps3_spu_resource_type
instead
Warning: arch/powerpc/platforms/ps3/platform.h:240 Enum value
'PS3_SPU_RESOURCE_TYPE_SHARED' not described in enum
'ps3_spu_resource_type'
Warning: arch/powerpc/platforms/ps3/platform.h:240 Enum value
'PS3_SPU_RESOURCE_TYPE_EXCLUSIVE' not described in enum
'ps3_spu_resource_type'
Warning: arch/powerpc/platforms/ps3/platform.h:240 Excess enum value
'@spu_resource_type_shared' description in 'ps3_spu_resource_type'
Warning: arch/powerpc/platforms/ps3/platform.h:240 Excess enum value
'@spu_resource_type_exclusive' description in 'ps3_spu_resource_type'
Also fix misspellings of "partitions."
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Geoff Levand <geoff@infradead.org>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Cc: linuxppc-dev@lists.ozlabs.org
arch/powerpc/platforms/ps3/platform.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--- linux-next-20260828.orig/arch/powerpc/platforms/ps3/platform.h
+++ linux-next-20260828/arch/powerpc/platforms/ps3/platform.h
@@ -228,9 +228,10 @@ int ps3_repository_read_boot_dat_info(u6
/* repository spu info */
/**
- * enum spu_resource_type - Type of spu resource.
- * @spu_resource_type_shared: Logical spu is shared with other partions.
- * @spu_resource_type_exclusive: Logical spu is not shared with other partions.
+ * enum ps3_spu_resource_type - Type of spu resource.
+ * @PS3_SPU_RESOURCE_TYPE_SHARED: Logical spu is shared with other partitions.
+ * @PS3_SPU_RESOURCE_TYPE_EXCLUSIVE: Logical spu is not shared with other
+ * partitions.
*
* Returned by ps3_repository_read_spu_resource_id().
*/
next prev parent reply other threads:[~2026-09-01 6:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-01 6:33 [PATCH 0/4] powerpc/ps3: repair some kernel-doc comments Randy Dunlap
2026-09-01 6:33 ` Randy Dunlap [this message]
2026-09-01 6:33 ` [PATCH 2/4] powerpc/ps3: htab.c: fix enum ps3_lpar_vas_id kernel-doc Randy Dunlap
2026-09-01 6:33 ` [PATCH 3/4] powerpc/ps3: mm.c: clean up kernel-doc issues Randy Dunlap
2026-09-01 6:33 ` [PATCH 4/4] powerpc/ps3: os-area.c: fix some kernel-doc warnings Randy Dunlap
-- strict thread matches above, loose matches on Subject: below --
2026-10-29 20:13 [PATCH 0/4] powerpc/ps3: repair some kernel-doc comments Randy Dunlap
2026-10-29 20:13 ` [PATCH 1/4] powerpc/ps3: platform.h: fix enum ps3_spu_resource_type kernel-doc Randy Dunlap
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=20260901063354.4012138-2-rdunlap@infradead.org \
--to=rdunlap@infradead.org \
--cc=chleroy@kernel.org \
--cc=geoff@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.ibm.com \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
/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