lkml.org 
[lkml]   [2013]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2013-07-04 03:21    [W:0.088 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site