Skip to content

Commit ad495a5

Browse files
Yang LiJassiBrar
authored andcommitted
mailbox: bcm-pdc: Fix some kernel-doc comments
Fix some kernel-doc comments to silence the warnings: drivers/mailbox/bcm-pdc-mailbox.c:707: warning: Function parameter or member 'pdcs' not described in 'pdc_tx_list_sg_add' drivers/mailbox/bcm-pdc-mailbox.c:707: warning: Excess function parameter 'spu_idx' description in 'pdc_tx_list_sg_add' drivers/mailbox/bcm-pdc-mailbox.c:875: warning: Function parameter or member 'pdcs' not described in 'pdc_rx_list_sg_add' drivers/mailbox/bcm-pdc-mailbox.c:875: warning: Excess function parameter 'spu_idx' description in 'pdc_rx_list_sg_add' drivers/mailbox/bcm-pdc-mailbox.c:966: warning: Function parameter or member 't' not described in 'pdc_tasklet_cb' drivers/mailbox/bcm-pdc-mailbox.c:966: warning: Excess function parameter 'data' description in 'pdc_tasklet_cb' Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
1 parent 9b63a81 commit ad495a5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/mailbox/bcm-pdc-mailbox.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ pdc_receive(struct pdc_state *pdcs)
694694
* pdc_tx_list_sg_add() - Add the buffers in a scatterlist to the transmit
695695
* descriptors for a given SPU. The scatterlist buffers contain the data for a
696696
* SPU request message.
697-
* @spu_idx: The index of the SPU to submit the request to, [0, max_spu)
697+
* @pdcs: PDC state for the SPU that will process this request
698698
* @sg: Scatterlist whose buffers contain part of the SPU request
699699
*
700700
* If a scatterlist buffer is larger than PDC_DMA_BUF_MAX, multiple descriptors
@@ -861,7 +861,7 @@ static int pdc_rx_list_init(struct pdc_state *pdcs, struct scatterlist *dst_sg,
861861
* pdc_rx_list_sg_add() - Add the buffers in a scatterlist to the receive
862862
* descriptors for a given SPU. The caller must have already DMA mapped the
863863
* scatterlist.
864-
* @spu_idx: Indicates which SPU the buffers are for
864+
* @pdcs: PDC state for the SPU that will process this request
865865
* @sg: Scatterlist whose buffers are added to the receive ring
866866
*
867867
* If a receive buffer in the scatterlist is larger than PDC_DMA_BUF_MAX,
@@ -960,7 +960,7 @@ static irqreturn_t pdc_irq_handler(int irq, void *data)
960960
/**
961961
* pdc_tasklet_cb() - Tasklet callback that runs the deferred processing after
962962
* a DMA receive interrupt. Reenables the receive interrupt.
963-
* @data: PDC state structure
963+
* @t: Pointer to the Altera sSGDMA channel structure
964964
*/
965965
static void pdc_tasklet_cb(struct tasklet_struct *t)
966966
{

0 commit comments

Comments
 (0)