On Thu, Mar 12, 2026 at 01:12:00AM +0530, Rahul Joshi wrote:
DEFINE_IDR is deprecated in favour of DEFINE_XARRAY_ALLOC. Replace the tty_minors IDR with an XArray and update all call sites:
idr_alloc() -> xa_alloc() idr_find() -> xa_load() idr_remove() -> xa_erase() idr_destroy() -> xa_destroy()
Also remove the now-unused <linux/idr.h> include and add <linux/xarray.h>.
Signed-off-by: Rahul Joshi rj5547884@gmail.com
drivers/staging/greybus/uart.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-)
I am pretty sure I have rejected this same patch multiple times in the past. Please see the mailing list archives for why.
thanks,
greg k-h