Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932286Ab3DXLYX (ORCPT ); Wed, 24 Apr 2013 07:24:23 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:50075 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932223Ab3DXLYV (ORCPT ); Wed, 24 Apr 2013 07:24:21 -0400 MIME-Version: 1.0 In-Reply-To: <5177B061.50107@imgtec.com> References: <201304222326.IJB21395.FOtVJFHFQMOOSL@I-love.SAKURA.ne.jp> <201304232140.FGF73904.QJOFOVtHFFMSOL@I-love.SAKURA.ne.jp> <51772CD3.3040405@zytor.com> <51772EBC.1050600@zytor.com> <5177B061.50107@imgtec.com> Date: Wed, 24 Apr 2013 14:24:20 +0300 Message-ID: Subject: Re: [PATCH] x86_32: Fix module version table mismatch. From: Andy Shevchenko To: James Hogan Cc: "H. Peter Anvin" , Rusty Russell , Tetsuo Handa , arjan@infradead.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1376 Lines: 36 On Wed, Apr 24, 2013 at 1:13 PM, James Hogan wrote: > On 24/04/13 02:00, H. Peter Anvin wrote: >> On 04/23/2013 05:52 PM, H. Peter Anvin wrote: >> Either way -- James, Rusty, this is in your court. > > How does the patch below look? I presume this is preferred over > making VMLINUX_SYMBOL_STR non-argument-expanding? I will test it soon. > Subject: [PATCH 1/1] modpost: fix unwanted VMLINUX_SYMBOL_STR expansion > > Commit a4b6a77b77ba4f526392612c2365797fab956014 ("module: fix symbol > versioning with symbol prefixes") broke the MODVERSIONS loading of any > module using memcmp (e.g. ipv6) on x86_32, as it's defined to > __builtin_memcmp which is expanded by VMLINUX_SYMBOL_STR. Use > __VMLINUX_SYMBOL_STR instead which doesn't expand the argument. > > Reported-by: Tetsuo Handa To be strongly correct Tetsuo and me reported about it and Tetsuo did first analysis. > Signed-off-by: James Hogan > Cc: Rusty Russell > Cc: Andy Shevchenko -- With Best Regards, Andy Shevchenko -- 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/