Re: [PATCH] staging: greybus: uart: convert tty_minors IDR to XArray

From: Андрій Гацук

Date: Fri Dec 04 2026 - 03:14:10 EST


Hi Greg,

Got it, thank you for the explanation. I saw this in scripts/checkpatch.pl,
which currently emits:
"WARNING: Deprecated use of 'DEFINE_IDR', prefer 'DEFINE_XARRAY' instead"

I will check the archives to understand the context better.

Best regards,
Andrii

пт, 4 дек. 2026 г. в 05:54, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>:
>
> On Thu, Dec 03, 2026 at 04:46:53PM +0200, Andrii Hatsuk wrote:
> > IDR is deprecated in favor of XArray.
>
> Not really. Please look in the archives for why this type of patch
> keeps getting rejected.
>
> And where are you being told that this type of conversion is necessary
> or wanted? That needs to be changed.
>
> thanks,
>
> greg k-h