]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
spi: mtk-snfi: fix kerneldoc for mtk_snand_is_page_ops()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 21 Oct 2024 14:21:13 +0000 (16:21 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Oct 2024 14:33:19 +0000 (15:33 +0100)
The op argument is missing the colon and is not picked up by the
kerneldoc generator. Fix it to address the following build warning:

drivers/spi/spi-mtk-snfi.c:1201: warning: Function parameter or struct member 'op' not described in 'mtk_snand_is_page_ops'

Fixes: 764f1b748164 ("spi: add driver for MTK SPI NAND Flash Interface")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://patch.msgid.link/20241021142113.71081-1-brgl@bgdev.pl
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mtk-snfi.c

index ddd98ddb79130a77c831b82d14355f65f0bd99c3..c5677fd94e5e147addec28b0ee08e9c18d57584b 100644 (file)
@@ -1187,7 +1187,7 @@ cleanup:
 
 /**
  * mtk_snand_is_page_ops() - check if the op is a controller supported page op.
- * @op spi-mem op to check
+ * @op: spi-mem op to check
  *
  * Check whether op can be executed with read_from_cache or program_load
  * mode in the controller.