Skip to content

Cleanup of mtd->type and mtd->flags

Jörn Engel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Simplify test for RAM devicesdrivers/mtd/mtdblock.c+1 -20 replies
2/4Make mtdblock_ro unconditionally readonlydrivers/mtd/mtdblock_ro.c+1 -30 replies
3/4Remove unchecked flagsdrivers/mtd/chips/map_ram.c drivers/mtd/devices/phram.c drivers/mtd/devices/slram.c +1 more+6 -133 replies
4/4Remove unused typesinclude/mtd/mtd-abi.h+0 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Cleanup of mtd->type and mtd->flags

Currently, there appears to be a great confusion surrounding mtd->type and mtd->flags. Various combinations of type and flags are used by device drivers to give some hints to users. Some users interpret these hints as seems to be intended by the drivers, others don't. Mismatches are caused by both drivers and users being confused and the whole system being less than clear.

This patchset is part of a larger work trying to clean things up. Patches are fairly simple and shouldn't need any discussion.

Jörn