From patchwork Wed Jan 12 12:32:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 12711333 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0912C4332F for ; Wed, 12 Jan 2022 12:32:47 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3478B6B0158; Wed, 12 Jan 2022 07:32:47 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 327DE6B0159; Wed, 12 Jan 2022 07:32:47 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 234D46B015A; Wed, 12 Jan 2022 07:32:47 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0049.hostedemail.com [216.40.44.49]) by kanga.kvack.org (Postfix) with ESMTP id 1002F6B0158 for ; Wed, 12 Jan 2022 07:32:47 -0500 (EST) Received: from smtpin06.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id CAEDC8A3CA for ; Wed, 12 Jan 2022 12:32:46 +0000 (UTC) X-FDA: 79021573932.06.C6ACF67 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf18.hostedemail.com (Postfix) with ESMTP id E92A71C000F for ; Wed, 12 Jan 2022 12:32:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641990766; x=1673526766; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=17feNRCWxaaCotEaxWchhHxpKB2++aseGYBTFYm3A1E=; b=eXBNU/SrpEUUp1OFGFkSkQgQsMCJWmt4UEs3ibnaIQnv9azTCR7jpa+I qQ40qtCV0RLso4W/gZoj7CJqlf9QuWYO5sJd4scC7QMOZzz30c2Py/Vc3 9gEMx82a4zyZdS9GDclgpAdU3Jxj2MIp1kVhXqa3BVDiQEjhm+GFhaQnt YJbbOWU6YOAmz+dez/TD0sQggQl22bO+my2jHb2BAefMsuw23ReLukP18 TMNxvRHUomooNs496IpzwZS68fCY+DwW4/v8fUvsr5ybWB3A5Eaa5Fir5 CZXiixvC1h3i3wS7Zl81X0aiG+3gcS4oVTvCL0HoV1gHOQXDjJqvFpd0J w==; X-IronPort-AV: E=McAfee;i="6200,9189,10224"; a="242540192" X-IronPort-AV: E=Sophos;i="5.88,282,1635231600"; d="scan'208";a="242540192" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2022 04:32:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,282,1635231600"; d="scan'208";a="592990198" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 12 Jan 2022 04:32:42 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n7cny-0005mi-6L; Wed, 12 Jan 2022 12:32:42 +0000 Date: Wed, 12 Jan 2022 20:32:18 +0800 From: kernel test robot To: Olga Kornievskaia Cc: kbuild-all@lists.01.org, Linux Memory Management List , Anna Schumaker , Trond Myklebust , linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH linux-next] nfs4_discover_trunking() can be static Message-ID: <20220112123218.GA25976@65a275238185> References: <202201122012.9sn7Q8EF-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202201122012.9sn7Q8EF-lkp@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: E92A71C000F X-Stat-Signature: itrcr9b8m6cap6m3hudwac51u7qky6pz Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="eXBNU/Sr"; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf18.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.120) smtp.mailfrom=lkp@intel.com X-Rspamd-Server: rspam08 X-HE-Tag: 1641990765-931720 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: fs/nfs/nfs4proc.c:4008:5: warning: symbol 'nfs4_discover_trunking' was not declared. Should it be static? Fixes: 82ebfb0d6333 ("NFSv4.1 query for fs_location attr on a new file system") Reported-by: kernel test robot Signed-off-by: kernel test robot --- nfs4proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index a93deeca0c86f..7a59ec2d7dacc 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -4005,7 +4005,7 @@ static int _nfs4_discover_trunking(struct nfs_server *server, return status; } -int nfs4_discover_trunking(struct nfs_server *server, struct nfs_fh *fhandle) +static int nfs4_discover_trunking(struct nfs_server *server, struct nfs_fh *fhandle) { struct nfs4_exception exception = { .interruptible = true,