--- zzzz-none-000/linux-4.4.271/drivers/mtd/nand/docg4.c 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/drivers/mtd/nand/docg4.c 2023-04-19 10:22:29.000000000 +0000 @@ -1121,7 +1121,7 @@ return ret; } -static int docg4_block_neverbad(struct mtd_info *mtd, loff_t ofs, int getchip) +static int docg4_block_neverbad(struct mtd_info *mtd, loff_t ofs) { /* only called when module_param ignore_badblocks is set */ return 0;