Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1658181ybe; Fri, 6 Sep 2019 23:58:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGn3245daWAL1JMtYUytholIDR4Oa6EB5p1rDLuAXYQDCNojkmkpY2zRcLAh7yclvcESWp X-Received: by 2002:a17:90a:b393:: with SMTP id e19mr14191611pjr.118.1567839490250; Fri, 06 Sep 2019 23:58:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567839490; cv=none; d=google.com; s=arc-20160816; b=BrCIivrU/oXK9aT4KLzTNdVeAtaj+Ryf4yrO/AChmgJIRd0ETA6o8Rij8DcPwS6SBe X7R1aTYbT2a6u9AwZNyTCS8H5FTtFlBlO4+EXzRFdEwoo+7txgM3USg/hBUAyCuDhPHI H8Fic9g2/rWEhVr8pH3i4Sv3SoXpuZapbZ+2IzZLlK6hY3302bZQO2TVTiSX/uaw9CJr M55cBbjzocyubhRURdbS7E4PBNK0Vk0Ch0jeAlSDL84mNCaWc2oINS4807Oc6N72gqms HA0Y/ZeRE1xs8y6s9C2ovCZVecsUJ28YtjK064dCAE+DHVbvn9U1941Q1DYZhlKMf/e+ xNpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from; bh=8tAs+YbVkTHgiJH9OUHEZHrx+Xc080PiON88gJp93yE=; b=NXXoR7E96qPPdFh3fU9asHg/YKMxcFMA5VRXQb06u4zER6TYeLFj+W9kZujTL3Q0fd XontWkjnwxkSHDBwLAVEA89NCNqG+DUEr5G7RnY9v5g9VHG2faLrSVCCRau5Ab8EyDtp 37ME8rQEtUk19oM+CcUTbxE/V4LUkwdPR2t7yyciTpT0p27mA9A0ihmIrjyo+y8Jvm75 Zr9LhT/4j5AS8L42GmDTCgStN0wW7S2YjZjndSLepNjE3sImqzdHsYUbQOw3dUL4nZQR Up+8qY02B/I1UKr+mFfx4F4PazrjXx/5SGHIVpirAoJlGrw8UT8zp1jTz7LbMPiJBhwY Rhfw== 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 u29si6232299pgm.325.2019.09.06.23.57.51; Fri, 06 Sep 2019 23:58: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 S2405698AbfIFPhJ (ORCPT + 99 others); Fri, 6 Sep 2019 11:37:09 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:45071 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404930AbfIFPhJ (ORCPT ); Fri, 6 Sep 2019 11:37:09 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MSqbe-1hiV2c2HkM-00UICm; Fri, 06 Sep 2019 17:37:04 +0200 From: Arnd Bergmann Cc: Arnd Bergmann , Emil Velikov , Denis Efremov , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] lz4: make LZ4HC_setExternalDict as non-static Date: Fri, 6 Sep 2019 17:36:51 +0200 Message-Id: <20190906153700.2061625-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:EJ5JQ+Xj0P7cX8kieNr9FXzkUNigJ9OgMm2KcPl1kp14ZBgs82I tRc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AgHT4/h6jNMKBew/+8= To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kbuild warns for exported static symbols. This one seems to be meant as an external API but does not have any in-kernel users: WARNING: "LZ4HC_setExternalDict" [vmlinux] is a static EXPORT_SYMBOL I suppose the function should not just get removed since it would be nice to stay close to the upstream version of lz4hc, so just make it global. The modpost commit is correct, but is listed here as the one that introduced the warning. Fixes: 15bfc2348d54 ("modpost: check for static EXPORT_SYMBOL* functions") Signed-off-by: Arnd Bergmann --- lib/lz4/lz4hc_compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lz4/lz4hc_compress.c b/lib/lz4/lz4hc_compress.c index 176f03b83e56..e1075293c009 100644 --- a/lib/lz4/lz4hc_compress.c +++ b/lib/lz4/lz4hc_compress.c @@ -642,7 +642,7 @@ EXPORT_SYMBOL(LZ4_loadDictHC); /* compression */ -static void LZ4HC_setExternalDict( +void LZ4HC_setExternalDict( LZ4HC_CCtx_internal *ctxPtr, const BYTE *newBlock) { -- 2.20.0