> On 17 Dec 2017, at 17:22, Etienne Haarsma <bladeoner...@gmail.com> wrote: > > uint8_t *oob = ops->oobbuf; > uint8_t *buf = ops->datbuf; > -@@ -2662,7 +2697,7 @@ err_out: > - static int panic_nand_write(struct mtd_info *mtd, loff_t to, size_t len, > - size_t *retlen, const uint8_t *buf) > - { > -- struct nand_chip *chip = mtd->priv; > -+ struct nand_chip *chip = mtd_to_nand(mtd); > - struct mtd_oob_ops ops; > - int ret; > -
I’m unconvinced this is the correct thing to do - in essence just dropping that bit of the patch. Will panic to nand still work? Kevin
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev