Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752926Ab3JBFdw (ORCPT ); Wed, 2 Oct 2013 01:33:52 -0400 Received: from mail-pb0-f42.google.com ([209.85.160.42]:42941 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752000Ab3JBFdu (ORCPT ); Wed, 2 Oct 2013 01:33:50 -0400 Date: Tue, 1 Oct 2013 22:33:48 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Martin Walch cc: Michal Marek , Jiri Kosina , "Yann E. MORIN" , =?UTF-8?Q?Arve_Hj=C3=B8nnev=C3=A5g?= , Benjamin Poirier , Dirk Gouders , Wang YanQing , Andrew Morton , Jean Delvare , Kees Cook , Alan Cox , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] kconfig: adjust warning message for conflicting types In-Reply-To: <2865108.QhoiiS6j3s@tacticalops> Message-ID: References: <2865108.QhoiiS6j3s@tacticalops> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1112 Lines: 26 On Wed, 2 Oct 2013, Martin Walch wrote: > diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c > index b970101..e511df5 100644 > --- a/scripts/kconfig/menu.c > +++ b/scripts/kconfig/menu.c > @@ -119,7 +119,7 @@ void menu_set_type(int type) > sym->type = type; > return; > } > - menu_warn(current_entry, "type of '%s' redefined from '%s' to '%s'", > + menu_warn(current_entry, "type of '%s' not redefined from '%s' to '%s'", > sym->name ? sym->name : "", > sym_type_name(sym->type), sym_type_name(type)); > } The warning is stating that the symbol was attempted to be redefined from one type to another, not that it was successful, so I don't think this patch actually helps make anything clearer. (gcc warns when a symbol is redefined by saying "redefintion of `blah`".) Perhaps include that the redefinition was ignored? -- 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/