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

From: Greg KH
Date: Thu Jul 04 2013 - 02:11:19 EST


On Thu, Jul 04, 2013 at 12:50:31PM +0800, Chen Gang wrote:
> On 07/04/2013 12:08 PM, Greg KH wrote:
> >> > 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.

You seem to not understand what asm-generic is, or does, or I still do
not understand what you are proposing.

Please send a patch showing what you are trying to do here, so that we
can properly understand.

greg k-h
--
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/