Skip to content

Commit 2ca8718

Browse files
committed
mtd: rawnand: rockchip: Rename a structure
Robots are unhappy with the ecc_cnt_status structure because the kernel doc says it should be called rk_ecc_cnt_status. In general, it is considered a better practice to prefix all symbols in a file with the same prexif, and thus it seems more relevant to rename the structure rather than changing the kernel doc header. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202312102130.geZ4dqyN-lkp@intel.com/ Fixes: 058e0e8 ("mtd: rawnand: rockchip: NFC driver for RK3308, RK2928 and others") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20231211150704.109138-1-miquel.raynal@bootlin.com
1 parent 199d140 commit 2ca8718

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/mtd/nand/raw/rockchip-nand-controller.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ enum nfc_type {
9898
* @high: ECC count high bit index at register.
9999
* @high_mask: mask bit
100100
*/
101-
struct ecc_cnt_status {
101+
struct rk_ecc_cnt_status {
102102
u8 err_flag_bit;
103103
u8 low;
104104
u8 low_mask;
@@ -144,8 +144,8 @@ struct nfc_cfg {
144144
u32 int_st_off;
145145
u32 oob0_off;
146146
u32 oob1_off;
147-
struct ecc_cnt_status ecc0;
148-
struct ecc_cnt_status ecc1;
147+
struct rk_ecc_cnt_status ecc0;
148+
struct rk_ecc_cnt_status ecc1;
149149
};
150150

151151
struct rk_nfc_nand_chip {

0 commit comments

Comments
 (0)