Re: [PATCH] usb: gadget: function: Remove usage of the deprecated ida_simple_xx() API

From: Greg KH
Date: Sun Apr 14 2024 - 08:53:04 EST


On Sun, Apr 14, 2024 at 02:09:08PM +0200, Christophe JAILLET wrote:
> Le 14/01/2024 à 12:39, Christophe JAILLET a écrit :
> > ida_alloc() and ida_free() should be preferred to the deprecated
> > ida_simple_get() and ida_simple_remove().
> >
> > Note that the upper limit of ida_simple_get() is exclusive, but the one of
> > ida_alloc_max() is inclusive. So a -1 has been added when needed.
> >
> > Signed-off-by: Christophe JAILLET <christophe.jaillet-39ZsbGIQGT5GWvitb5QawA@xxxxxxxxxxxxxxxx>
> > ---
> > drivers/usb/gadget/function/f_hid.c | 6 +++---
> > drivers/usb/gadget/function/f_printer.c | 6 +++---
> > drivers/usb/gadget/function/rndis.c | 4 ++--
> > 3 files changed, 8 insertions(+), 8 deletions(-)
> >
>
> Hi,
>
> polite reminder.

Odd, this isn't in my review queue anywhere. Can you rebase and resend?

thanks,

greg k-h