Re: lib/test_bitmap.c:920:2: error: call to __compiletime_assert_372 declared with 'error' attribute: BUILD_BUG_ON failed: !__builtin_constant_p(res)

From: Alexander Lobakin
Date: Mon Jun 26 2023 - 07:58:35 EST


From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Date: Mon, 26 Jun 2023 11:32:51 +0300

> On Sun, Jun 25, 2023 at 05:12:36AM +0800, kernel test robot wrote:
>> Hi Alexander,
>>
>> FYI, the error/warning still remains.
>
> Alexander, do you have anything to present to fix this? Or is your plan to send
> something after v6.5-rc1?

Hi,
I was waiting for an email from Nick (or some further update of the
GitHub issue page) to clarify whether the compiler should be fixed or I
should work around this in the code. If the latter, I could send a fix
this week, so that it could even hit the bitmap pull request.

Thanks,
Olek