Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 775adc3d authored by Jason Liu's avatar Jason Liu Committed by David Woodhouse
Browse files

mtd: nand: fix a typo in a commentary

parent c93ff6bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2377,7 +2377,7 @@ static int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
		return -EINVAL;
	}

	/* Do not allow reads past end of device */
	/* Do not allow write past end of device */
	if (unlikely(to >= mtd->size ||
		     ops->ooboffs + ops->ooblen >
			((mtd->size >> chip->page_shift) -