From patchwork Fri Sep 6 15:39:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 173263 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp884284ilq; Fri, 6 Sep 2019 08:40:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxm4UbyAHuocYkilJ6ROAJ+AjQ0HX78GaImYIWPCQUCMlRWi+kUfz4Qy+/xWxrlc0p85+bF X-Received: by 2002:a62:1d93:: with SMTP id d141mr11620930pfd.40.1567784410191; Fri, 06 Sep 2019 08:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567784410; cv=none; d=google.com; s=arc-20160816; b=K35sKRBJIplot5DqraS3ibOECA+FEeOEIMRq0GibqC/CoMUHfkmsqfQYHposJC13XL xEy9fyoyPKo4tFVkC4LyLxSmxN4UPjWeklogkiZMyOXBy5cdOXlCYHvIDDKhaOxjGOY9 bHpBK3vM6jVVdIgM1nNKw2t3Ujk+KVoRxk0Caf+D6aMBLt1E1rByvqZyKvjU2/fRTKwD YRpGcQeb4Y+EIhDhxJsKguTdxWWTJwCEmm/Gx4MGYZB+TQEFMi4XpY7pcvHjxRFWqetT JL84y6MgL3GA1tvwMIYKHcu0aWRUp+RDPOa16H0NZJVeqoAID7fr5EpUH9SrYNMDyPg6 FDAg== 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:mime-version :message-id:date:subject:cc:to:from; bh=zMXYICI4ICn0W7q7rUFOhtYSR31EVEYBGWB57R8r1Uo=; b=ILdCVv3KOKq31QuuDkh9y5eV7dyc6nLyUl4GQ+A0LoKi97CxmkaBUx4vuzmaoid+QE aQi7IknohqUt2Vad96o9byi4CoRLclBUNPzCkkHMkXzV50EJ17fo1qBjGhxOmhnGxkWN Goglf1n1IADVU0UaNnq2JekIYolKr6Hh+vq/Ei6kFaNgc7DUR0z5GFh3auENU11xLtNo oVJ5L5gKWVBrMIM2MSG5kiXyf3eeI6hIMSvt13nRhB2EaF3orhJxpIwPRypOV8H4T7MJ +LijAPhnRRu3/SWArgbwKSAlRcJN+MbN6kEfggS9iQe+7sFFwcpy1c06KzHBwlcjWIrK O/aQ== 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 q13si4630997pgq.317.2019.09.06.08.40.09; Fri, 06 Sep 2019 08:40:10 -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 S2405809AbfIFPkJ (ORCPT + 28 others); Fri, 6 Sep 2019 11:40:09 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:58045 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404493AbfIFPkI (ORCPT ); Fri, 6 Sep 2019 11:40:08 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1N49xZ-1iFMyW1Wgz-0103jZ; Fri, 06 Sep 2019 17:39:53 +0200 From: Arnd Bergmann To: Stefano Stabellini Cc: Arnd Bergmann , Emil Velikov , Denis Efremov , Masahiro Yamada , Russell King , xen-devel@lists.xenproject.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: xen: unexport HYPERVISOR_platform_op function Date: Fri, 6 Sep 2019 17:39:38 +0200 Message-Id: <20190906153948.2160342-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:zYODqMtzhmasPBLMaQkekqWiOvuaPVy3IwkWaKwHTMENneYYT8+ N9fyWbckJqYWTjYWdmrm2DvtCp7XQn992baONZAioN40gMFhsqvd2U1uMxtDsTxl02EEgMD eI5U3yqi2uT9wI5P/PNjLDsH5KfiyfEyZ9ARZbjNSFbQWMW/PWzRcDJcdeASforR6P2aJOa oSAzLbOAoDT2OMDOiRvsQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:Hl3snfylLyw=:F4PGuLMuAxxV6jSAERX2I7 YLHkkVVGb5vPqpurr8Bbn+hyuwWdkNKkzFAUJBpSy+D7WHk7gVxbv9HpCnGGfm6NgtD1zTgjs WqyLndj1Q1NoIHOq97vFJK1E5NfCvEK9k2CLN88jTZugyWhrSRmIMpJlo9gYL5VzkBoM13xbe L97IBBuATNa8AplaIqCWcHo/WKK4s6PfwNn1IoigBfpbvRJ/4p4vKT4Ps4c9KEMraRxou/4YO HQpBTXRVmqZ5/Fu1ubNF1z7SS6+MsybqbmmBf4arM//R+Re4Of7p/AIGwGVb5eNPJfPLMov7o eD69Z7Ak+0C5ah/e9vI+a6EOEUGTFWqVmQtCLXjg4CJFXYDrncVnhngBn9tH54hvR3v9cznBt XaCRWMr+Wk1XfBylaOur9Ac/fM1lU/GLDeae1pxYrIt/e/YzUGrs6pBa01J2TFxiAfTs7ffR7 d7k+afrQlghEUPhvATCoVBg0NVG4t25SciaXGLKavc4MvEqWswSslxWMcLPAd+fjqthc+Ujkd FpMV7SrwOZ1lhA8UHG+1o8WhALPIVVuIrtZIfRZJty6t9HVahWXkOORwCmjgbZwXrNUuQtjlm Z036DeAY4zkrSUKOAdBKSKDJN/Ehwo7WbC6Wzp2cwqUfwFmUF2Mwh+61GjOanrNAM8cOmXUl6 nTMw3EB8A4ev83/WvVY1UVl6nLC4NaVPP1QI9W5cn3+lUEPOdH5r75jP32GLF7CO36I28uRJX j/fBOhn1RJrPYCDLykucNyQcukb/dW7s7RTPh9iJfiYj06Dh2j+AyDwJtTKyqFfirfzZpk8f+ HvVavFxfxTs0ElAnhWxOzZFZi9GFQsIQ4oeH6iHEPsqKo7oTqE= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/xen/enlighten.c | 1 - 1 file changed, 1 deletion(-) -- 2.20.0 Signed-off-by: Arnd Bergmann Signed-off-by: Stefano Stabellini diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index 1e57692552d9..845c528acf24 100644 --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c @@ -437,7 +437,6 @@ EXPORT_SYMBOL_GPL(HYPERVISOR_memory_op); EXPORT_SYMBOL_GPL(HYPERVISOR_physdev_op); EXPORT_SYMBOL_GPL(HYPERVISOR_vcpu_op); EXPORT_SYMBOL_GPL(HYPERVISOR_tmem_op); -EXPORT_SYMBOL_GPL(HYPERVISOR_platform_op); EXPORT_SYMBOL_GPL(HYPERVISOR_multicall); EXPORT_SYMBOL_GPL(HYPERVISOR_vm_assist); EXPORT_SYMBOL_GPL(HYPERVISOR_dm_op);