Re: [PATCH 2/2] build_bug.h: remove all dummy BUILD_BUG_ON stubs for sparse

From: Masahiro Yamada
Date: Mon Nov 19 2018 - 05:38:51 EST


On Sat, Nov 17, 2018 at 7:56 PM kbuild test robot <lkp@xxxxxxxxx> wrote:
>
> Hi Masahiro,
>
> I love your patch! Perhaps something to improve:
>
> [auto build test WARNING on linus/master]
> [also build test WARNING on v4.20-rc2 next-20181116]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Masahiro-Yamada/build_bug-h-remove-negative-array-fallback-for-BUILD_BUG_ON/20181116-190414
> config: x86_64-allmodconfig (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=x86_64


OK, I was digging into this Sparse warning.

I suspect this is a bug of Sparse.

I submitted this to disable __builtin_types_compatible_p() for Sparse.

https://lore.kernel.org/patchwork/patch/1013734/





--
Best Regards
Masahiro Yamada