Commit ac47fcdd authored by Sudeep Holla's avatar Sudeep Holla Committed by Zhongyuan Zhou
Browse files

mailbox: pcc: Fix kernel doc warnings

mainline inclusion
from mainline-v5.16-rc1
commit 10dcc2d6
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I9S5DK
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=10dcc2d66292f9f7d0851447da5c2450760b91e6



--------------------------------

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: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 9c27a05e
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -223,6 +223,10 @@ static int pcc_map_interrupt(u32 interrupt, u32 flags)

/**
 * pcc_mbox_irq - PCC mailbox interrupt handler
 * @irq:	interrupt number
 * @p: data/cookie passed from the caller to identify the channel
 *
 * Returns: IRQ_HANDLED if interrupt is handled or IRQ_NONE if not
 */
static irqreturn_t pcc_mbox_irq(int irq, void *p)
{
@@ -378,7 +382,7 @@ static const struct mbox_chan_ops pcc_chan_ops = {
};

/**
 * parse_pcc_subspaces -- Count PCC subspaces defined
 * parse_pcc_subspace - Count PCC subspaces defined
 * @header: Pointer to the ACPI subtable header under the PCCT.
 * @end: End of subtable entry.
 *