Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp552860pxb; Thu, 25 Feb 2021 09:02:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVN4hS2wTEr3j1j9EKbhFtgnTYgZIsrHzI3DkPuspRRYgK/0+vce36CvlOK48g65+j2lkh X-Received: by 2002:aa7:cb8e:: with SMTP id r14mr3977990edt.331.1614272520618; Thu, 25 Feb 2021 09:02:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614272520; cv=none; d=google.com; s=arc-20160816; b=qbwPjve5hEpC1RQTKTLgIXV6353730KOU9iaZT/3LqF10hoQat7v2FO/8grJpGQi9C SpcwmpmRsx7UQz2VyHo4jYSjPENHIDfZhlV5oFBlGE1+/SjxhJ/F/3ejtqVo76Doss9y eXfr3Ex7DQd6GJcbKnjV0CqwtmzClXo1WPJV42HA0KtwP6PcwHQhLylA5ETyKQgcFab/ FC80XBpXTfnzfsF3QYIp5uUcONW/cE9JQ3uNs4zc8FngoD/Ja3UW1c/SICyGBmL8T8mi xgCjZmdydPkqu9ZWe1HENk9wKtH1EvrNF8LfOTdsPy0pNLQhP3pH3Mvz6FLj0E58UO1n c0Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ISiwYeYz1ThrendcIDOxZOHXULejMX34yeK70uTiZaU=; b=hotzA/JEV3JM75qmBrj5av3QXe/sMC+L7d8vJc515jNpGLdh2FeUgY4cRmPavqvb81 gsYv5a2BDqn0KEdFvS7vh1SA391i5bmK/2ARa6oerMdAyWKt4drc3424YNiqGeOs2mv9 +fDrgdhqGdQTaOgCHrhx45WoozWqayNHpeTmKX3YF40xrc5ghdCQF551L0/c4eaQxtpW PYYOpC/wLXgn63STihlx0KJTGKV0NCGxgGhepSgnzYtMa30iTHisZUF18NF71wO8ftNm //8nVUVS5rh/McsTkz4sWMGWJrlq+dsf6lB+XHnV2OkWmfANf0zhGTOg/ny8C8tlcYQ9 9Uaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HatSeii4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g11si4180723ejt.597.2021.02.25.09.01.30; Thu, 25 Feb 2021 09:02:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HatSeii4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233734AbhBYQ6J (ORCPT + 99 others); Thu, 25 Feb 2021 11:58:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231771AbhBYQ5s (ORCPT ); Thu, 25 Feb 2021 11:57:48 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A09DAC061756; Thu, 25 Feb 2021 08:57:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ISiwYeYz1ThrendcIDOxZOHXULejMX34yeK70uTiZaU=; b=HatSeii41iSCJ7/7WZYq+wGAD7 s6DrnSFTS4AwL0/ZE1eitTkxsSB8LpJC3MDlUoZgZrVAom5SiHoo0G7WxgTtb2M6Hwz9DPPL5vojY OEKwpXJoTmx9mKIkFewQg0iCqdwobeBmFvCKGcEdqxsHcPQsJDvJ9vwbL0Y2nx/WLhJSyEjUwiZkJ F3qEEafobWbbCJYF0Zq2ZOgtabPrk1USvVBCaVbUwrpAP2D3tWjAMkhMGPRzV2CIDf/3btGqoaC8V I894jVW6jsNK2QI3vg3EuLyyR8Ec4maImZeiyYTt7vq4LSW2UKwcSO9OYOYPZ2eGcOI2PF6yYwPq1 p44nCK3w==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lFJvm-00Avt2-KF; Thu, 25 Feb 2021 16:56:09 +0000 Date: Thu, 25 Feb 2021 16:56:02 +0000 From: Christoph Hellwig To: Jiapeng Chong Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH] kallsyms: make arch_get_kallsym static Message-ID: <20210225165602.GA2605031@infradead.org> References: <1614236917-80472-1-git-send-email-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1614236917-80472-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 25, 2021 at 03:08:37PM +0800, Jiapeng Chong wrote: > Fix the following sparse warning: > > kernel/kallsyms.c:457:12: warning: symbol 'arch_get_kallsym' was not > declared. Should it be static? > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Please just remove the function entirely.