[PATCH 1/4] powerpc/ps3: platform.h: fix enum ps3_spu_resource_type kernel-doc
From: Randy Dunlap
Date: Tue Sep 01 2026 - 02:38:10 EST
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@xxxxxxxxxxxxx>
---
Cc: Geoff Levand <geoff@xxxxxxxxxxxxx>
Cc: Madhavan Srinivasan <maddy@xxxxxxxxxxxxx>
Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
Cc: Nicholas Piggin <npiggin@xxxxxxxxx>
Cc: Christophe Leroy (CS GROUP) <chleroy@xxxxxxxxxx>
Cc: linuxppc-dev@xxxxxxxxxxxxxxxx
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().
*/