On Wed, Dec 06, 2017 at 01:24:51PM -0800, Sodagudi Prasad wrote: > > Hi All, > > When kernel compiled with clang, following line is disabling the > unused-variable warning. This is not the case with gcc. > KBUILD_CFLAGS += $(call cc-disable-warning, unused-variable) > > Are there any specific reasons for disabling unused-variable with clang? Try it and see why it is disabled :) -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html