From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Shubham Chakraborty <chakrabortyshubham66@gmail.com>
Cc: David Lin <dtwlin@gmail.com>, Johan Hovold <johan@kernel.org>,
Alex Elder <elder@kernel.org>,
greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] staging: greybus: uart: convert to XArray
Date: Wed, 25 Feb 2026 10:47:42 -0800 [thread overview]
Message-ID: <2026022506-untouched-scone-e6bb@gregkh> (raw)
In-Reply-To: <20260225183836.20434-2-chakrabortyshubham66@gmail.com>
On Thu, Feb 26, 2026 at 12:08:36AM +0530, Shubham Chakraborty wrote:
> Replace the deprecated IDR API with the more modern XArray API.
> This simplifies the code and improves efficiency.
>
> Signed-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>
> ---
> drivers/staging/greybus/uart.c | 20 ++++++++++++--------
> 1 file changed, 12 insertions(+), 8 deletions(-)
This really isn't needed, sorry, it doesn't improve any "efficiency" and
I think I've rejected this change in the past as well.
It's just a simple minor number, an idr is just fine for it.
thanks,
greg k-h
next prev parent reply other threads:[~2026-02-25 18:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-25 18:38 [PATCH 1/2] staging: greybus: uart: fix style issues Shubham Chakraborty
2026-02-25 18:38 ` [PATCH 2/2] staging: greybus: uart: convert to XArray Shubham Chakraborty
2026-02-25 18:47 ` Greg Kroah-Hartman [this message]
2026-02-26 18:25 ` Shubham Chakraborty
2026-02-25 18:43 ` [PATCH 1/2] staging: greybus: uart: fix style issues Greg Kroah-Hartman
2026-02-26 7:59 ` Dan Carpenter
2026-02-26 17:58 ` Shubham Chakraborty
2026-02-27 6:52 ` [PATCH v2] staging: greybus: uart: add descriptive lock comments Shubham Chakraborty
2026-02-27 9:03 ` Dan Carpenter
2026-02-27 15:48 ` [PATCH v2] staging: greybus: uart: improve " Shubham Chakraborty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2026022506-untouched-scone-e6bb@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=chakrabortyshubham66@gmail.com \
--cc=dtwlin@gmail.com \
--cc=elder@kernel.org \
--cc=greybus-dev@lists.linaro.org \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox