From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752746AbcLMXjz (ORCPT ); Tue, 13 Dec 2016 18:39:55 -0500 Received: from mx2.suse.de ([195.135.220.15]:44932 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910AbcLMXjy (ORCPT ); Tue, 13 Dec 2016 18:39:54 -0500 Subject: Re: [PATCH v3 1/1] x86/kbuild: enable modversions for symbols exported from asm To: Adam Borowski References: <20161211005211.GA11607@angband.pl> <20161211010918.16050-1-kilobyte@angband.pl> Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Arnd Bergmann , Ingo Molnar , Nicholas Piggin From: Michal Marek Message-ID: Date: Wed, 14 Dec 2016 00:39:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <20161211010918.16050-1-kilobyte@angband.pl> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dne 11.12.2016 v 02:09 Adam Borowski napsal(a): > Commit 4efca4ed ("kbuild: modversions for EXPORT_SYMBOL() for asm") adds > modversion support for symbols exported from asm files. Architectures > must include C-style declarations for those symbols in asm/asm-prototypes.h > in order for them to be versioned. > > Add these declarations for x86, and an architecture-independent file that > can be used for common symbols. > > With f27c2f6 reverting 8ab2ae6 ("default exported asm symbols to zero") we > produce a scary warning on x86, this commit fixes that. > > Signed-off-by: Adam Borowski > Tested-by: Kalle Valo > Acked-by: Nicholas Piggin > Tested-by: Peter Wu > Tested-by: Oliver Hartkopp Applied to kbuild.git#kbuild now. Michal