Re: [PATCH] include/asm-generic/io.h: add dummy fuctions to support'COMPILE_TEST' in 'asm-generic'.

From: Chen Gang
Date: Thu Jul 04 2013 - 00:51:31 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/