mtd: Dynamic allocation of device numbers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 7 repliesIn review
- v16 patches 8 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | mtd: Introduce and use iteration macro for reading the MTD device tabledrivers/ drivers/ drivers/ | +45 | 0 replies | |
| 2/7 | mtd: Use get_mtd_device_nm() to find named device in get_sb_mtd()drivers/ | +6 | 0 replies | |
| 3/7 | nandsim: Define CONFIG_NANDSIM_MAX_PARTS and use it instead of MAX_MTD_DEVICESdrivers/ | +5 | 3 replies | |
| 4/7 | mtd: Remove unnecessary comparisons with MAX_MTD_DEVICESdrivers/ drivers/ drivers/ | +2 | 0 replies | |
| 5/7 | mtdblock: Dynamically allocate cache info structuresdrivers/ | +31 | 0 replies | |
| 6/7 | mtd: Replace static array of devices with an idr structuredrivers/ drivers/ include/ | +81 | 0 replies | |
| 7/7 | mtd: Raise limit on block device minor numbersdrivers/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCHv2 0/7] mtd: Dynamic allocation of device numbers
This patch series removes the static array of MTD device pointers from mtdcore and replaces it with an idr structure for dynamic allocation of device numbers. It removes MAX_MTD_DEVICES, which is now meaningless.
Patches 1-4 are unchanged from the first version.
Patch 5 was completely replaced.
Patch 6 is unchanged from the first version.
Patch 7 is new and raises the limit on block translation devices.
Ben.
Ben Hutchings (7):
mtd: Introduce and use iteration macro for reading the MTD device
table
mtd: Use get_mtd_device_nm() to find named device in get_sb_mtd()
nandsim: Define CONFIG_NANDSIM_MAX_PARTS and use it instead of
MAX_MTD_DEVICES
mtd: Remove unnecessary comparisons with MAX_MTD_DEVICES
mtdblock: Dynamically allocate cache info structures
mtd: Replace static array of devices with an idr structure
mtd: Raise limit on block device minor numbers
drivers/mtd/devices/pmc551.c | 4 +- drivers/mtd/mtd_blkdevs.c | 12 ++-- drivers/mtd/mtdblock.c | 74 +++++++--------- drivers/mtd/mtdchar.c | 3 - drivers/mtd/mtdcore.c | 205 +++++++++++++++++++++-------------------- drivers/mtd/mtdcore.h | 7 ++- drivers/mtd/mtdoops.c | 5 - drivers/mtd/mtdsuper.c | 18 ++--- drivers/mtd/nand/nandsim.c | 7 +- include/linux/mtd/mtd.h | 1 - 10 files changed, 161 insertions(+), 175 deletions(-)
Signature · 3 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.