Re: [PATCH v6 1/2] x86: fix bitops.h warning with a moved cast

From: Luc Van Oostenryck
Date: Wed Mar 11 2020 - 00:37:33 EST


On Tue, Mar 10, 2020 at 03:17:46PM -0700, Jesse Brandeburg wrote:
> Fix many sparse warnings when building with C=1. These are useless
> noise from the bitops.h file and getting rid of them helps devs
> make more use of the tools and possibly find real bugs.
>
> When the kernel is compiled with C=1, there are lots of messages like:
> arch/x86/include/asm/bitops.h:77:37: warning: cast truncates bits from constant value (ffffff7f becomes 7f)

Acked-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>