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

From: Jesse Brandeburg
Date: Tue Mar 10 2020 - 18:22:27 EST


On Tue, 25 Feb 2020 13:50:30 +0100 Peter wrote:
> On Tue, Feb 25, 2020 at 12:30:50PM +0200, Andy Shevchenko wrote:
>
> > I think it is a C standard which dictates this, compiler just follows.
>
> Correct, a semi readable explanation of this:
>
> https://stackoverflow.com/questions/46073295/implicit-type-promotion-rules

Thanks! I sent a v6 with a reworded explanation and link to the above.