Distribution: n/a Hardware Environment: n/a Software Environment: n/a Problem Description: Line 113 in Makefile. If O=dir is used to relocate output, the C=1 option does not get passed to the second invocation of make in the output directory because KBUILD_CHECK=$(KBUILD_CHECK) is passed to the second invocation. KBUILD_CHECKSRC=$(KBUILD_CHECKSRC) should be passed instead. Steps to reproduce: Did not test, but it seems clear from the makefile that this behavior would occur.
Created attachment 5378 [details] Do not pass KBUILD_CHECK to second make invocation
Fixed in latest -git tree. Atached patch has been applied.