Skip to content

mtd: MTD API rework

Artem Bityutskiy linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9mtd: return error code from mtd_unpointdrivers/mtd/chips/cfi_cmdset_0001.c drivers/mtd/devices/mtdram.c drivers/mtd/devices/phram.c +6 more+33 -200 replies
2/9mtd: add offset and length checks to the API functiondrivers/mtd/mtdcore.c include/linux/mtd/mtd.h+165 -1120 replies
3/9mtd: do not duplicate length and offset checks in driversdrivers/mtd/chips/cfi_cmdset_0001.c drivers/mtd/chips/cfi_cmdset_0020.c drivers/mtd/chips/cfi_util.c +20 more+3 -3210 replies
4/9mtd: remove R/O checking duplicationdrivers/mtd/chips/map_ram.c drivers/mtd/chips/map_rom.c drivers/mtd/devices/phram.c +5 more+17 -540 replies
5/9mtd: remove retlen zeroing duplicationdrivers/mtd/chips/cfi_cmdset_0001.c drivers/mtd/chips/cfi_cmdset_0002.c drivers/mtd/chips/cfi_cmdset_0020.c +15 more+1 -730 replies
6/9mtd: remove junk pmc551.hdrivers/mtd/devices/pmc551.c include/linux/mtd/pmc551.h+38 -790 replies
7/9mtd: harmonize mtd_point interface implementationdrivers/mtd/devices/mtdram.c drivers/mtd/devices/phram.c drivers/mtd/devices/pmc551.c +2 more+3 -140 replies
8/9mtd: move zero length verification to MTD API functionsdrivers/mtd/chips/cfi_cmdset_0001.c drivers/mtd/chips/cfi_cmdset_0002.c drivers/mtd/chips/cfi_cmdset_0020.c +10 more+21 -760 replies
9/9mtd: check for zero length in OTP functionsdrivers/mtd/mtdcore.c include/linux/mtd/mtd.h+84 -590 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchShmulik Ladkani
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9R-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] mtd: MTD API rework

From: Artem Bityutskiy <[email protected]>

Hi,

here are the latest MTD API rework patches. I have plans to also harmonize the OOB-related functions, try to harmonize alignment checking in erase and write functions as well. Not sure I'll have time for this, though, will see.

Please, do test the changes if you use MTD - it is easy to break something when you are trying to clean-up ancient crap.

Artem.