9
0
Fork 0
barebox/drivers/mtd
Uwe Kleine-König faa369e9c5 nand-bb: fix writing to the end of a .bb device
As nand_bb_write_buf calls mtd_write(bb->mtd, cur_ofs, now, ...) the
limit that now should be checked against is bb->mtd->size - cur_ofs.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-02 08:41:53 +01:00
..
devices mtd: m25p80: add support for Everspin MR25H40 2017-01-10 08:27:33 +01:00
nand nand-bb: fix writing to the end of a .bb device 2017-03-02 08:41:53 +01:00
nor mtd: cfi-flash: Set MTD's writebufsize 2016-04-08 13:33:18 +02:00
spi-nor mtd: spi-nor: add support for s25fl208k 2017-01-30 07:27:11 +01:00
ubi Merge branch 'for-next/truncate' 2017-01-11 19:00:04 +01:00
Kconfig mtd: Introduce mtd-peb API 2016-04-06 10:17:51 +02:00
Makefile mtd: Introduce mtd-peb API 2016-04-06 10:17:51 +02:00
core.c mtd: Make UBI detection more robust 2016-11-11 09:54:42 +01:00
mtd.h mtd: Make devname argument to add_mtd_device const 2015-06-29 07:04:55 +02:00
mtdconcat.c mtd: Add support for marking blocks as good 2016-03-15 08:56:53 +01:00
mtdoob.c string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
mtdraw.c mtd: fix mtdraw_erase stub signature 2016-06-24 08:23:33 +02:00
partition.c mtd: mtdpart: Add oob_read function 2016-03-15 11:29:26 +01:00
peb.c mtd: peb: Fix format specifier 2017-01-10 08:27:33 +01:00