Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964797Ab3GDBLe (ORCPT ); Wed, 3 Jul 2013 21:11:34 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:41959 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753935Ab3GDBLc (ORCPT ); Wed, 3 Jul 2013 21:11:32 -0400 Date: Wed, 3 Jul 2013 18:12:21 -0700 From: Greg KH To: Chen Gang Cc: Arnd Bergmann , Geert Uytterhoeven , Richard Weinberger , Jeff Dike , David Sharp , "sfr@canb.auug.org.au" , Steven Rostedt , Ingo Molnar , uml-devel , uml-user , "linux-kernel@vger.kernel.org" , Linux-Arch , Mark Brown , David Miller , Andrew Morton , Jiri Kosina , Jiri Slaby Subject: Re: [PATCH] include/asm-generic/io.h: add dummy fuctions to support 'COMPILE_TEST' in 'asm-generic'. Message-ID: <20130704011221.GA11230@kroah.com> References: <51CA8AB8.7080504@asianux.com> <51D375AA.5060300@asianux.com> <201307031014.12583.arnd@arndb.de> <51D3E440.7090105@asianux.com> <51D4C87E.5070605@asianux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51D4C87E.5070605@asianux.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1423 Lines: 39 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/