On 5 September 2017 at 10:35, Philippe Mathieu-Daudé <f4...@amsat.org> wrote: > I'm not sure this kind of mistake happens often enough, but it might worth > add a such test in checkpatch.pl (easier to say than to implement :p)
It doesn't run automatically, but you can run scripts/clean-includes on your new files to remove unneeded includes and add osdep.h if it's missing. thanks -- PMM