[PATCH 0/2] cdev partition fix

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 2 05:30:15 PDT 2025


On Mon, 02 Jun 2025 10:51:30 +0200, Sascha Hauer wrote:
> 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
> 
> 
> [...]

Applied, thanks!

[1/2] cdev: pass master cdev to cdev ops
      https://git.pengutronix.de/cgit/barebox/commit/?id=08e276fbe412 (link may not be stable)
[2/2] nvmem: Drop now unnecessary partition quirk
      https://git.pengutronix.de/cgit/barebox/commit/?id=df7bfd5b4fe4 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list