Skip to content

Commit 6db43b2

Browse files
rddunlapmaddy-kerneldev
authored andcommitted
powerpc: kgdb: fix kernel-doc warnings
Remove empty comment line at the beginning of a kernel-doc function block. Add a "Return:" section for this function. These changes prevent 2 kernel-doc warnings: Warning: ../arch/powerpc/kernel/kgdb.c:103 Cannot find identifier on line: * Warning: kgdb.c:113 No description found for return value of 'kgdb_skipexception' Fixes: 949616c ("powerpc/kgdb: Bail out of KGDB when we've been triggered") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260225055314.247966-1-rdunlap@infradead.org
1 parent fe8343b commit 6db43b2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

arch/powerpc/kernel/kgdb.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,15 @@ static int computeSignal(unsigned int tt)
101101
}
102102

103103
/**
104-
*
105104
* kgdb_skipexception - Bail out of KGDB when we've been triggered.
106105
* @exception: Exception vector number
107106
* @regs: Current &struct pt_regs.
108107
*
109108
* On some architectures we need to skip a breakpoint exception when
110109
* it occurs after a breakpoint has been removed.
111110
*
111+
* Return: return %1 if the breakpoint for this address has been removed,
112+
* otherwise return %0
112113
*/
113114
int kgdb_skipexception(int exception, struct pt_regs *regs)
114115
{

0 commit comments

Comments
 (0)