]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
soc: fsl: qe: qe_common: Fix misnamed function attribute 'addr'
authorLee Jones <lee.jones@linaro.org>
Tue, 3 Nov 2020 15:28:24 +0000 (15:28 +0000)
committerLi Yang <leoyang.li@nxp.com>
Mon, 23 Nov 2020 23:19:33 +0000 (17:19 -0600)
Fixes the following W=1 kernel build warning(s):

 drivers/soc/fsl/qe/qe_common.c:237: warning: Function parameter or member 'addr' not described in 'cpm_muram_dma'
 drivers/soc/fsl/qe/qe_common.c:237: warning: Excess function parameter 'offset' description in 'cpm_muram_dma'

Cc: Qiang Zhao <qiang.zhao@nxp.com>
Cc: Li Yang <leoyang.li@nxp.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: act <dmalek@jlc.net>
Cc: Dan Malek <dan@embeddedalley.com>
Cc: "Software, Inc" <source@mvista.com>
Cc: Vitaly Bordug <vbordug@ru.mvista.com>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qe/qe_common.c

index 75075591f6308d15d0c250285d601dd02644b677..497a7e0fd0272a09dbb38047fb41514b611d1165 100644 (file)
@@ -231,7 +231,7 @@ EXPORT_SYMBOL(cpm_muram_offset);
 
 /**
  * cpm_muram_dma - turn a muram virtual address into a DMA address
- * @offset: virtual address from cpm_muram_addr() to convert
+ * @addr: virtual address from cpm_muram_addr() to convert
  */
 dma_addr_t cpm_muram_dma(void __iomem *addr)
 {