From: Dan Carpenter <dan.carpenter@linaro.org>
To: Dharanitharan R <dharanitharan725@gmail.com>
Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org, david.laight.linux@gmail.com
Subject: Re: [PATCH v3] staging: vme_user: simplify bus number allocation using ffz()
Date: Wed, 10 Dec 2025 14:17:41 +0300 [thread overview]
Message-ID: <aTlW1VkhmvJAn8Hh@stanley.mountain> (raw)
In-Reply-To: <20251210100023.33753-2-dharanitharan725@gmail.com>
On Wed, Dec 10, 2025 at 10:00:24AM +0000, Dharanitharan R wrote:
> David Laight pointed out that the loop in vme_register_bridge()
> is effectively searching for the first zero bit in vme_bus_numbers.
> Add a check for vme_bus_numbers == ~0UL before calling ffz().
>
> Replace the manual loop with ffz() and use BIT(n) for consistency.
>
> Suggested-by: David Laight <david.laight.linux@gmail.com>
> Signed-off-by: Dharanitharan R <dharanitharan725@gmail.com>
> ---
You need to write a change log here after the --- cut off line.
https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/
This still doesn't apply.
regards,
dan carpenter
next prev parent reply other threads:[~2025-12-10 11:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-10 10:00 [PATCH v3] staging: vme_user: simplify bus number allocation using ffz() Dharanitharan R
2025-12-10 11:17 ` Dan Carpenter [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-12-10 9:42 Dharanitharan R
2025-12-10 9:51 ` Dan Carpenter
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=aTlW1VkhmvJAn8Hh@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=david.laight.linux@gmail.com \
--cc=dharanitharan725@gmail.com \
--cc=gregkh@linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.