Re: [PATCH 2/2] kbuild: detect missing header include guard

2019-08-09 Thread Sam Ravnborg
Hi Masahiro On Mon, Jul 29, 2019 at 02:34:45AM +0900, Masahiro Yamada wrote: > Our convention is to surround the whole of the header content with an > include guard. This avoids the same header being parsed over again in > case it is included multiple times. > > The include guard is missing in se

[PATCH 2/2] kbuild: detect missing header include guard

2019-07-28 Thread Masahiro Yamada
Our convention is to surround the whole of the header content with an include guard. This avoids the same header being parsed over again in case it is included multiple times. The include guard is missing in several places, or broken due to the mismatch between #ifndef and #define. The recently a