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 <[email protected]> --- Cc: Geoff Levand <[email protected]> Cc: Madhavan Srinivasan <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: Christophe Leroy (CS GROUP) <[email protected]> Cc: [email protected] 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(). */
