Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1797799ybe; Sat, 7 Sep 2019 03:08:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5Fdcsh6AOTex8n5SMh+7lsco3Ct3WV/dShG+Fd/JofWp+MSLTS1Y7PzLyAFmGGfJ7gOM8 X-Received: by 2002:a65:68c9:: with SMTP id k9mr11851330pgt.28.1567850900000; Sat, 07 Sep 2019 03:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567850899; cv=none; d=google.com; s=arc-20160816; b=RmQVBdaOQW/tgeC5VCPb5HLODLBhPXIx3aEm249XbcY8lF4adNCNqa1FWKMVdab/P7 LJOrq1Ha1h828ZHrvov2hreMrqsyaPk5lS6etRzNR4AFTsKA+k5uuTzeHCdTtRfhgs7w DA1UEYsKay2wNWBVF+ROom3RwHTygM+fuBFgskqhY5nQgcSOH704IITf8dqIcaM2tN8V i6zYX8fJVlx81Oqqu/rEnAC/pCJIRiGdYd/Zv+L1abdyR+lQcsBagcbYBwxp1vXDzA9i zcyze4WzGww+8p/cc4t8LWYXyZeaezYdMyT8Sw44ca4xySV48OuQ712svTyp07ocLFxH Jqkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=eOtGoEZA5gBNvu4iI5iRdVS1w/YdEZuc/NT4EHwjm5Y=; b=YWkXAQvUwlp2598fix9RNFZroI/BOh2YkxA9nsUrHdAQltUBjdSR/RI98uulBi4Z2O 13uGMaidhHXwWBnY5h9SkW7YIUD1tQq2ZcdR+E5UQD8fE2ixoDow2fSxGwgHfSszCPsx XFlrOXSraP/wBy6uuPdJJpHJWSwF1f95mASAl3XDYCZGjrJ3e+PWZ+T/ny9vNcKunisX OD38aGatj6EZTtkIhlsVnU/3x4j6s9c8uXbT6JSqKeDh5YzelC8KMbNvaRI1iAo37M/r biccYM60Vq2Qx6ZKM7C1rPYBgmdhrkmznBRL2vC8ncfHncvmx2l2PxOjG7tCZ6LJRF24 grIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 123si8637666pfy.61.2019.09.07.03.08.03; Sat, 07 Sep 2019 03:08:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732033AbfIFP7s (ORCPT + 99 others); Fri, 6 Sep 2019 11:59:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:35396 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727762AbfIFP7s (ORCPT ); Fri, 6 Sep 2019 11:59:48 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C101CAF77; Fri, 6 Sep 2019 15:59:46 +0000 (UTC) Subject: Re: [Xen-devel] [PATCH] ARM: xen: unexport HYPERVISOR_platform_op function To: Andrew Cooper Cc: Arnd Bergmann , Stefano Stabellini , Russell King , Emil Velikov , Denis Efremov , linux-arm-kernel@lists.infradead.org, xen-devel@lists.xenproject.org, Masahiro Yamada , linux-kernel@vger.kernel.org References: <20190906153948.2160342-1-arnd@arndb.de> <7abad95e-ea47-c068-d91c-ba503f2530b9@citrix.com> From: Jan Beulich Message-ID: <742b216d-9219-7ba5-553b-6445513ccedd@suse.com> Date: Fri, 6 Sep 2019 17:59:55 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <7abad95e-ea47-c068-d91c-ba503f2530b9@citrix.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06.09.2019 17:55, Andrew Cooper wrote: > On 06/09/2019 16:39, Arnd Bergmann wrote: >> HYPERVISOR_platform_op() is an inline function and should not >> be exported. Since commit 15bfc2348d54 ("modpost: check for >> static EXPORT_SYMBOL* functions"), this causes a warning: >> >> WARNING: "HYPERVISOR_platform_op" [vmlinux] is a static EXPORT_SYMBOL_GPL >> >> Remove the extraneous export. >> >> Fixes: 15bfc2348d54 ("modpost: check for static EXPORT_SYMBOL* functions") >> Signed-off-by: Arnd Bergmann > > Something is wonky.  That symbol is (/ really ought to be) in the > hypercall page and most definitely not inline. It's HYPERVISOR_platform_op_raw that's in the hypercall page afaics. Jan