Re: [PATCH] kbuild: run the checker after the compiler

2020-06-22 Thread Masahiro Yamada
On Tue, Jun 23, 2020 at 12:47 AM Luc Van Oostenryck wrote: > > Since the pre-git time the checker is run first, before the compiler. > But if the source file contains some syntax error, the warnings from > the compiler are more useful than those from sparse (and other > checker most probably

[PATCH] kbuild: run the checker after the compiler

2020-06-22 Thread Luc Van Oostenryck
Since the pre-git time the checker is run first, before the compiler. But if the source file contains some syntax error, the warnings from the compiler are more useful than those from sparse (and other checker most probably too). So move the 'check' command to run after the compiler.