Re: [PATCH] staging: rtl8723bs: Use % 4096 instead of & 0xfff
From: Samuel Abraham
Date: Sun Apr 06 2025 - 17:55:42 EST
On Sat, Apr 5, 2025 at 10:13 AM David Laight
<david.laight.linux@xxxxxxxxx> wrote:
>
> On Fri, 4 Apr 2025 23:33:16 +0000
> Abraham Samuel Adekunle <abrahamadekunle50@xxxxxxxxx> 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.