--- zzzz-none-000/linux-4.4.60/drivers/mtd/nand/diskonchip.c 2017-04-08 07:53:53.000000000 +0000 +++ wasp-540e-714/linux-4.4.60/drivers/mtd/nand/diskonchip.c 2019-07-03 09:21:34.000000000 +0000 @@ -798,7 +798,7 @@ } } -static int doc200x_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip) +static int doc200x_block_bad(struct mtd_info *mtd, loff_t ofs) { /* This is our last resort if we couldn't find or create a BBT. Just pretend all blocks are good. */