From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <51D4FF17.4040503@asianux.com> Date: Thu, 04 Jul 2013 12:50:31 +0800 From: Chen Gang MIME-Version: 1.0 References: <51D3E440.7090105@asianux.com> <51D4C87E.5070605@asianux.com> <20130704011221.GA11230@kroah.com> <51D4D4A0.6080401@asianux.com> <1372903390.22688.139.camel@gandalf.local.home> <51D4D9A4.3020402@gmail.com> <1372904975.22688.142.camel@gandalf.local.home> <51D4E133.2010201@gmail.com> <1372907201.22688.147.camel@gandalf.local.home> <51D4EB7D.2020809@gmail.com> <20130704040859.GA2869@kroah.com> In-Reply-To: <20130704040859.GA2869@kroah.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org Subject: Re: [PATCH] include/asm-generic/io.h: add dummy fuctions to support 'COMPILE_TEST' in 'asm-generic'. To: Greg KH Cc: Chen Gang F T , Steven Rostedt , Arnd Bergmann , Geert Uytterhoeven , Richard Weinberger , Jeff Dike , David Sharp , "sfr@canb.auug.org.au" , Ingo Molnar , uml-devel , uml-user , "linux-kernel@vger.kernel.org" , Linux-Arch , Mark Brown , David Miller , Andrew Morton , Jiri Kosina , Jiri Slaby List-ID: On 07/04/2013 12:08 PM, Greg KH wrote: > On Thu, Jul 04, 2013 at 11:26:53AM +0800, Chen Gang F T wrote: >> > Please see the related comment in "init/Kconfig" of next-* tree. > This is now in Linus's tree for 3.11. > OK, thanks (at least for me, it is a good news). >> > config COMPILE_TEST >> > bool "Compile also drivers which will not load" >> > default n > This has _nothing_ to do with asm-generic, sorry. Please don't confuse > the issue. But when I choose allmodconfig, then "COMPILE_TEST=y". this may allow a module to compile under the architectures which no related HW support. When cause compiling issue (HW not support), it is not module's issue, we can not 'fix' module by force, and it is not architecture's issue, either. So we have to look for who has duty for this issue. At least now, it seems only 'asm-generic' can be qualified to play this unlucky role. Thanks. -- Chen Gang