cdev partition fix
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20250602-cdev-part-fixes-e2416b848e82Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cdev: pass master cdev to cdev opsfs/ | +41 | 3 replies | |
| 2/2 | nvmem: Drop now unnecessary partition quirkdrivers/ | +2 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Ahmad Fatoum |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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]>