Skip to content

Commit f5b4753

Browse files
rddunlapmaddy-kerneldev
authored andcommitted
powerpc/ps3: spu.c: fix enum and Return kernel-doc warnings
Fix enum and function return value kernel-doc warnings: Warning: spu.c:36 Excess enum value '%spe_type_logical' description in 'spe_type' Warning: spu.c:78 Excess enum value '%spe_ex_state_unexecutable' description in 'spe_ex_state' Warning: spu.c:78 Excess enum value '%spe_ex_state_executable' description in 'spe_ex_state' Warning: spu.c:78 Excess enum value '%spe_ex_state_executed' description in 'spe_ex_state' Warning: spu.c:190 No description found for return value of 'setup_areas' Fixes: de91a53 ("[POWERPC] ps3: add spu support") Fixes: b470277 ("powerpc/ps3: Fix ioremap of spu shadow regs") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260225055328.249204-1-rdunlap@infradead.org
1 parent 6db43b2 commit f5b4753

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

  • arch/powerpc/platforms/ps3

arch/powerpc/platforms/ps3/spu.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
/**
2828
* enum spe_type - Type of spe to create.
29-
* @spe_type_logical: Standard logical spe.
29+
* @SPE_TYPE_LOGICAL: Standard logical spe.
3030
*
3131
* For use with lv1_construct_logical_spe(). The current HV does not support
3232
* any types other than those listed.
@@ -64,9 +64,9 @@ struct spe_shadow {
6464

6565
/**
6666
* enum spe_ex_state - Logical spe execution state.
67-
* @spe_ex_state_unexecutable: Uninitialized.
68-
* @spe_ex_state_executable: Enabled, not ready.
69-
* @spe_ex_state_executed: Ready for use.
67+
* @SPE_EX_STATE_UNEXECUTABLE: Uninitialized.
68+
* @SPE_EX_STATE_EXECUTABLE: Enabled, not ready.
69+
* @SPE_EX_STATE_EXECUTED: Ready for use.
7070
*
7171
* The execution state (status) of the logical spe as reported in
7272
* struct spe_shadow:spe_execution_status.
@@ -185,6 +185,8 @@ static void spu_unmap(struct spu *spu)
185185
*
186186
* The current HV requires the spu shadow regs to be mapped with the
187187
* PTE page protection bits set as read-only.
188+
*
189+
* Returns: %0 on success or -errno on error.
188190
*/
189191

190192
static int __init setup_areas(struct spu *spu)

0 commit comments

Comments
 (0)