Skip to content

cdev partition fix

Sascha Hauer barebox 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20250602-cdev-part-fixes-e2416b848e82

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2cdev: pass master cdev to cdev opsfs/devfs-core.c+41 -123 replies
2/2nvmem: Drop now unnecessary partition quirkdrivers/nvmem/core.c+2 -80 replies

Reviews trailers per patch

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

PatchAhmad Fatoum
1/2R-b
2/2

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/2] cdev partition fix

cdev partitions are cdevs themselves, but they are handled internally in the devfs-core. cdev partitions should not be passed as context pointers to the cdev ops though, because the drivers might do a container_of() on them to retrieve their driver data. Pass the original cdev the driver has registered as context to the ops

---
Sascha Hauer (2):
cdev: pass master cdev to cdev ops
nvmem: Drop now unnecessary partition quirk

 drivers/nvmem/core.c | 10 ++--------
 fs/devfs-core.c      | 53 ++++++++++++++++++++++++++++++++++++++++------------
 2 files changed, 43 insertions(+), 20 deletions(-)

---
base-commit: 812b498be4057c39d017cad6bf43664fe04ee44b
change-id: 20250602-cdev-part-fixes-e2416b848e82

Best regards,

Signature · 1 line
Sascha Hauer <[email protected]>