Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755197AbZDZJT1 (ORCPT ); Sun, 26 Apr 2009 05:19:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754964AbZDZJSy (ORCPT ); Sun, 26 Apr 2009 05:18:54 -0400 Received: from pfepa.post.tele.dk ([195.41.46.235]:39765 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754804AbZDZJSw (ORCPT ); Sun, 26 Apr 2009 05:18:52 -0400 Date: Sun, 26 Apr 2009 11:20:56 +0200 From: Sam Ravnborg To: Paul Mundt , Tim Abbott , Linus Torvalds , Linux kernel mailing list , Anders Kaseorg , Waseem Daher , Denys Vlasenko , Rusty Russell , Andi Kleen , "H. Peter Anvin" , Stephen Rothwell , Jeff Arnold , Andrew Morton , Jon Masters , Masami Hiramatsu , "Theodore Ts'o" , Nikanth Karthikesan , Arjan van de Ven , Am?rico Wang Subject: [PATCH] kbuild: fix comment in modpost.c Message-ID: <20090426092056.GA28058@uranus.ravnborg.org> References: <1240519774-20307-1-git-send-email-tabbott@mit.edu> <20090424172358.GA21946@uranus.ravnborg.org> <20090426024221.GA7286@linux-sh.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090426024221.GA7286@linux-sh.org> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1362 Lines: 41 Looking at this I noticed a bug in a comment in modpost. Sam >From bece3302fa388ee643f8a6bc78463ac20a2f23bb Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sun, 26 Apr 2009 11:17:42 +0200 Subject: [PATCH] kbuild: fix comment in modpost.c There is some confusion on naming of the head section. Correct naming is .head.text. Fix comment so we use correct naming. Signed-off-by: Sam Ravnborg --- scripts/mod/modpost.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index c9a01ca..2fdf2bf 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -942,8 +942,7 @@ static int section_mismatch(const char *fromsec, const char *tosec) * *probe_one, *_console, *_timer * * Pattern 3: - * Whitelist all refereces from .text.head to .init.data - * Whitelist all refereces from .text.head to .init.text + * Whitelist all refereces from .head.text to any init section * * Pattern 4: * Some symbols belong to init section but still it is ok to reference -- 1.6.0.2.GIT -- 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/