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

2024-05-20 Thread Sascha Hauer
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().

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

2024-05-16 Thread Sascha Hauer
On Thu, May 16, 2024 at 04:43:04PM +0200, Marco Felsch wrote: > 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 eas

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

2024-05-16 Thread Marco Felsch
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 kindl

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

2024-05-16 Thread Sascha Hauer
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_n