[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aTlW1VkhmvJAn8Hh@stanley.mountain>
Date: Wed, 10 Dec 2025 14:17:41 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Dharanitharan R <dharanitharan725@...il.com>
Cc: gregkh@...uxfoundation.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, david.laight.linux@...il.com
Subject: Re: [PATCH v3] staging: vme_user: simplify bus number allocation
using ffz()
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@...il.com>
> Signed-off-by: Dharanitharan R <dharanitharan725@...il.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
Powered by blists - more mailing lists