[PATCH 0/7] replace cdev_by_name() with cdev_open_by_name()

Sascha Hauer s.hauer at pengutronix.de
Mon May 20 23:17:58 PDT 2024


On Thu, 16 May 2024 09:08:15 +0200, Sascha Hauer wrote:
> As Ahmad noticed cdev_by_name() doesn't increase the reference counting
> on the returned cdev which causes problems further down the road. This
> series replaces some of the easier occurences of cdev_by_name() with
> cdev_open_by_name().
> 
> Sascha Hauer (7):
>   ARM: Freescale i.MX23 evk: use cdev_open_by_name()
>   ARM: tx28: use cdev_open_by_name()
>   ARM: omap: use cdev_open_by_name()
>   ARM: Rockchip: use cdev_open_by_name()
>   commands: devlookup: use cdev_open_by_name()
>   commands: findmnt: use cdev_open_by_name()
>   bootm: use cdev_open_by_name()
> 
> [...]

Applied, thanks!

[1/7] ARM: Freescale i.MX23 evk: use cdev_open_by_name()
      https://git.pengutronix.de/cgit/barebox/commit/?id=3111bf9b13d2 (link may not be stable)
[2/7] ARM: tx28: use cdev_open_by_name()
      https://git.pengutronix.de/cgit/barebox/commit/?id=05164ce75799 (link may not be stable)
[3/7] ARM: omap: use cdev_open_by_name()
      https://git.pengutronix.de/cgit/barebox/commit/?id=50788af27a89 (link may not be stable)
[4/7] ARM: Rockchip: use cdev_open_by_name()
      https://git.pengutronix.de/cgit/barebox/commit/?id=9da41e4d65fc (link may not be stable)
[5/7] commands: devlookup: use cdev_open_by_name()
      https://git.pengutronix.de/cgit/barebox/commit/?id=bc5868b647aa (link may not be stable)
[6/7] commands: findmnt: use cdev_open_by_name()
      https://git.pengutronix.de/cgit/barebox/commit/?id=7aa92b02b84a (link may not be stable)
[7/7] bootm: use cdev_open_by_name()
      https://git.pengutronix.de/cgit/barebox/commit/?id=888a17fa7e95 (link may not be stable)

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




More information about the barebox mailing list