Messages in this thread | | | Date | Wed, 3 Jul 2013 18:12:21 -0700 | From | Greg KH <> | Subject | Re: [PATCH] include/asm-generic/io.h: add dummy fuctions to support 'COMPILE_TEST' in 'asm-generic'. |
| |
On Thu, Jul 04, 2013 at 08:57:34AM +0800, Chen Gang wrote: > 'asm-generic' neither belongs to architectures nor belongs to modules, > it provides public services to both modules and architectures.
That sentence does not make any sense to me.
> 'COMPILE_TEST=y' will let 'asm-generic' provide self checking sevices to > both modules and architectures (especially with allmodconfig and > "EXTRA_CFLAGS=-W")
No it doesn't.
> For modules (especially which will run under the specific architecture > soon), the developer can find more compiling issues before they really > support it.
Huh?
> For architectures, can let modules compile as much as possible (if > "COMPILE_TEST=y"), it will give a better check for the architectures. > > At present, most of architectures (include various machine/cpu in an > architecture) can not pass compiling with 'allmodconfig'. One of the > main reasons is the HW of the specific architecture does not support. > > It is neither architectures issue nor modules issue, the root cause is: > "now, 'asm-generic' doesn't provide the related necessary public > services for it".
That's not what asm-generic is for at all.
confused,
greg k-h
| |