Hi Sascha, On 24-05-16, 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(). Can we kindly inform the user with a print_once() or so that cdev_by_name should be replaced with cdev_open_by_name()? Regards, Marco > 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 > > >