Re: [PATCH] staging: rtl8723bs: Use % 4096 instead of & 0xfff

Samuel Abraham <[email protected]> Sun, 6 Apr 2025 22:55:25 +0100
Newsgroups dev.linux.lists.outreachy,dev.linux.lists.linux-staging,org.kernel.vger.linux-kernel
Message-ID <CADYq+faLiL5f+HBxuZoKJLLc90wM0YRRbuhYwo+Or2w6O6SMEQ@mail.gmail.com>
On Sat, Apr 5, 2025 at 10:13 AM David Laight
<[email protected]> wrote:
>
> On Fri, 4 Apr 2025 23:33:16 +0000
> Abraham Samuel Adekunle <[email protected]> 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.