[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADYq+faLiL5f+HBxuZoKJLLc90wM0YRRbuhYwo+Or2w6O6SMEQ@mail.gmail.com>
Date: Sun, 6 Apr 2025 22:55:25 +0100
From: Samuel Abraham <abrahamadekunle50@...il.com>
To: David Laight <david.laight.linux@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Julia Lawall <julia.lawall@...ia.fr>,
outreachy@...ts.linux.dev, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, Dan Carpenter <dan.carpenter@...aro.org>
Subject: Re: [PATCH] staging: rtl8723bs: Use % 4096 instead of & 0xfff
On Sat, Apr 5, 2025 at 10:13 AM David Laight
<david.laight.linux@...il.com> wrote:
>
> On Fri, 4 Apr 2025 23:33:16 +0000
> Abraham Samuel Adekunle <abrahamadekunle50@...il.com> wrote:
>
> > Replace the bitwise AND operator `&` with a modulo
> > operator `%` and decimal number to make the upper limit visible
> > and clear what the semantic of it is.
>
> Use 4096u to make absolutely certain an unsigned module is used.
Hello David,
Thank you very much for this suggestion.
Adekunle.
Powered by blists - more mailing lists