Re: [PATCH] Revert "kbuild: avoid static_assert for genksyms"

2020-12-22 Thread Masahiro Yamada
On Sun, Dec 20, 2020 at 3:40 AM Masahiro Yamada wrote: > > This reverts commit 14dc3983b5dff513a90bd5a8cc90acaf7867c3d0. > > Macro Elver had sent a fix proper fix earlier, and also pointed out > corner cases: > > "I guess what you propose is simpler, but might still have corner cases > where we st

[PATCH] Revert "kbuild: avoid static_assert for genksyms"

2020-12-19 Thread Masahiro Yamada
This reverts commit 14dc3983b5dff513a90bd5a8cc90acaf7867c3d0. Macro Elver had sent a fix proper fix earlier, and also pointed out corner cases: "I guess what you propose is simpler, but might still have corner cases where we still get warnings. In particular, if some file (for whatever reason) do