Skip to content

Commit 10dcc2d

Browse files
sudeep-hollaJassiBrar
authored andcommitted
mailbox: pcc: Fix kernel doc warnings
Kernel doc validation script is unhappy and complains with the below set of warnings. | drivers/mailbox/pcc.c:179: warning: Function parameter or member 'irq' | not described in 'pcc_mbox_irq' | drivers/mailbox/pcc.c:179: warning: Function parameter or member 'p' | not described in 'pcc_mbox_irq' | drivers/mailbox/pcc.c:378: warning: expecting prototype for | parse_pcc_subspaces(). Prototype was for parse_pcc_subspace() instead Fix it. Signed-off-by: Sudeep Holla <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent f89f9c5 commit 10dcc2d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

drivers/mailbox/pcc.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ static int pcc_map_interrupt(u32 interrupt, u32 flags)
174174

175175
/**
176176
* pcc_mbox_irq - PCC mailbox interrupt handler
177+
* @irq: interrupt number
178+
* @p: data/cookie passed from the caller to identify the channel
179+
*
180+
* Returns: IRQ_HANDLED if interrupt is handled or IRQ_NONE if not
177181
*/
178182
static irqreturn_t pcc_mbox_irq(int irq, void *p)
179183
{
@@ -364,7 +368,7 @@ static const struct mbox_chan_ops pcc_chan_ops = {
364368
};
365369

366370
/**
367-
* parse_pcc_subspaces -- Count PCC subspaces defined
371+
* parse_pcc_subspace - Count PCC subspaces defined
368372
* @header: Pointer to the ACPI subtable header under the PCCT.
369373
* @end: End of subtable entry.
370374
*

0 commit comments

Comments
 (0)