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

[MTD] [NAND] Fix missing kernel-doc

[Reported by Randy Dunlap]

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by

Alexey Korolev and committed by
David Woodhouse
17c1d2be 1077be58

+7 -6
+3 -3
drivers/mtd/nand/nand_base.c
··· 801 801 * nand_read_subpage - [REPLACABLE] software ecc based sub-page read function 802 802 * @mtd: mtd info structure 803 803 * @chip: nand chip info structure 804 - * @dataofs offset of requested data within the page 805 - * @readlen data length 806 - * @buf: buffer to store read data 804 + * @data_offs: offset of requested data within the page 805 + * @readlen: data length 806 + * @bufpoi: buffer to store read data 807 807 */ 808 808 static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi) 809 809 {
+3 -3
drivers/mtd/nand/nand_ecc.c
··· 150 150 /** 151 151 * nand_calculate_ecc - [NAND Interface] Calculate 3-byte ECC for 256-byte block 152 152 * @mtd: MTD block structure (unused) 153 - * @dat: raw data 154 - * @ecc_code: buffer for ECC 153 + * @buf: input buffer with raw data 154 + * @code: output buffer with ECC 155 155 */ 156 156 int nand_calculate_ecc(struct mtd_info *mtd, const unsigned char *buf, 157 157 unsigned char *code) ··· 390 390 /** 391 391 * nand_correct_data - [NAND Interface] Detect and correct bit error(s) 392 392 * @mtd: MTD block structure (unused) 393 - * @dat: raw data read from the chip 393 + * @buf: raw data read from the chip 394 394 * @read_ecc: ECC from the chip 395 395 * @calc_ecc: the ECC calculated from raw data 396 396 *
+1
include/linux/mtd/nand.h
··· 248 248 * @read_page_raw: function to read a raw page without ECC 249 249 * @write_page_raw: function to write a raw page without ECC 250 250 * @read_page: function to read a page according to the ecc generator requirements 251 + * @read_subpage: function to read parts of the page covered by ECC. 251 252 * @write_page: function to write a page according to the ecc generator requirements 252 253 * @read_oob: function to read chip OOB data 253 254 * @write_oob: function to write chip OOB data