mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/7] replace cdev_by_name() with cdev_open_by_name()
@ 2024-05-16  7:08 Sascha Hauer
  2024-05-16  7:08 ` [PATCH 1/7] ARM: Freescale i.MX23 evk: use cdev_open_by_name() Sascha Hauer
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Sascha Hauer @ 2024-05-16  7:08 UTC (permalink / raw)
  To: Barebox List

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()

 arch/arm/boards/freescale-mx23-evk/mx23-evk.c | 13 +++++++------
 arch/arm/boards/karo-tx28/tx28-stk5.c         | 13 ++++++++-----
 arch/arm/mach-omap/omap_generic.c             |  5 ++++-
 arch/arm/mach-rockchip/bbu.c                  |  8 +++++++-
 commands/devlookup.c                          | 15 ++++++++++-----
 commands/findmnt.c                            |  3 ++-
 common/bootm.c                                |  5 ++++-
 7 files changed, 42 insertions(+), 20 deletions(-)

-- 
2.39.2




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-05-21  6:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-16  7:08 [PATCH 0/7] replace cdev_by_name() with cdev_open_by_name() Sascha Hauer
2024-05-16  7:08 ` [PATCH 1/7] ARM: Freescale i.MX23 evk: use cdev_open_by_name() Sascha Hauer
2024-05-16  7:08 ` [PATCH 2/7] ARM: tx28: " Sascha Hauer
2024-05-16  7:08 ` [PATCH 3/7] ARM: omap: " Sascha Hauer
2024-05-16  7:08 ` [PATCH 4/7] ARM: Rockchip: " Sascha Hauer
2024-05-16  7:08 ` [PATCH 5/7] commands: devlookup: " Sascha Hauer
2024-05-16  7:08 ` [PATCH 6/7] commands: findmnt: " Sascha Hauer
2024-05-16  7:08 ` [PATCH 7/7] bootm: " Sascha Hauer
2024-05-16 14:43 ` [PATCH 0/7] replace cdev_by_name() with cdev_open_by_name() Marco Felsch
2024-05-16 15:01   ` Sascha Hauer
2024-05-21  6:17 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox