On Fri, Jan 03, 2020 at 03:20:17AM +0000, Peter Chen wrote: > > > > Hi Felipe, > > > > > > How to make sure it works? Except for enabling CONFIG_COMPLIE_TEST, > > > what else I need to do? Thanks. > > > > Felipe's suggestion is you should change your config dependency as: > > depends on ARCH_MXC || COMPILE_TEST > > > > Then user can compile your driver to find warning or something else though the > > ARCH_MXC config is not enabled. > > Hi Baolin, > > I know that, I have already changed that, unset ARCH_MXC and enable > CONFIG_COMPILE_TEST. What else I could do to make sure it could compile OK > at every architecture? Add that option and then actually build it for all arches :) thanks, greg k-h