[PATCH 0/2] mtd: concat: use flex array

Rosen Penev posted 2 patches 1 month ago
There is a newer version of this series
drivers/mtd/mtd_virt_concat.c | 19 +++----------------
drivers/mtd/mtdconcat.c       |  5 +----
include/linux/mtd/concat.h    |  2 +-
3 files changed, 5 insertions(+), 21 deletions(-)
[PATCH 0/2] mtd: concat: use flex array
Posted by Rosen Penev 1 month ago
Simplifies allocation. There may or may not be missing frees here. One
allocation is simpler to reason about.

Rosen Penev (2):
  mtd: virt_concat: use single allocation for node
  mtd: concat: replace alloc + calloc with 1 alloc

 drivers/mtd/mtd_virt_concat.c | 19 +++----------------
 drivers/mtd/mtdconcat.c       |  5 +----
 include/linux/mtd/concat.h    |  2 +-
 3 files changed, 5 insertions(+), 21 deletions(-)

--
2.53.0