Re: [PATCH v5 1/2] x86: fix bitops.h warning with a moved cast
From: Peter Zijlstra
Date: Tue Feb 25 2020 - 07:50:49 EST
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