Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dmaengine: qcom: Fix ADM driver kerneldoc markup

Update the kerneldoc function headers to fix build warnings:

drivers/dma/qcom/qcom_adm.c:180: warning: Function parameter or member 'chan' not described in 'adm_free_chan'
drivers/dma/qcom/qcom_adm.c:190: warning: Function parameter or member 'burst' not described in 'adm_get_blksize'
drivers/dma/qcom/qcom_adm.c:466: warning: Function parameter or member 'chan' not described in 'adm_terminate_all'
drivers/dma/qcom/qcom_adm.c:466: warning: Excess function parameter 'achan' description in 'adm_terminate_all'
drivers/dma/qcom/qcom_adm.c:503: warning: Function parameter or member 'achan' not described in 'adm_start_dma'

Signed-off-by: Jonathan McDowell <noodles@earth.li>
Link: https://lore.kernel.org/r/20201126184602.GA1008@earth.li
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Jonathan McDowell and committed by
Vinod Koul
4facce4c 92de5fa2

+5 -3
+5 -3
drivers/dma/qcom/qcom_adm.c
··· 173 173 /** 174 174 * adm_free_chan - Frees dma resources associated with the specific channel 175 175 * 176 - * Free all allocated descriptors associated with this channel 176 + * @chan: dma channel 177 177 * 178 + * Free all allocated descriptors associated with this channel 178 179 */ 179 180 static void adm_free_chan(struct dma_chan *chan) 180 181 { ··· 186 185 /** 187 186 * adm_get_blksize - Get block size from burst value 188 187 * 188 + * @burst: Burst size of transaction 189 189 */ 190 190 static int adm_get_blksize(unsigned int burst) 191 191 { ··· 458 456 459 457 /** 460 458 * adm_terminate_all - terminate all transactions on a channel 461 - * @achan: adm dma channel 459 + * @chan: dma channel 462 460 * 463 461 * Dequeues and frees all transactions, aborts current transaction 464 462 * No callbacks are done ··· 499 497 500 498 /** 501 499 * adm_start_dma - start next transaction 502 - * @achan - ADM dma channel 500 + * @achan: ADM dma channel 503 501 */ 504 502 static void adm_start_dma(struct adm_chan *achan) 505 503 {