From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48E1CC433DB for ; Mon, 22 Feb 2021 20:02:25 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C515864E31 for ; Mon, 22 Feb 2021 20:02:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C515864E31 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 28DA36B006C; Mon, 22 Feb 2021 15:02:24 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2151B6B006E; Mon, 22 Feb 2021 15:02:24 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 103F56B0070; Mon, 22 Feb 2021 15:02:24 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0084.hostedemail.com [216.40.44.84]) by kanga.kvack.org (Postfix) with ESMTP id EB9D46B006C for ; Mon, 22 Feb 2021 15:02:23 -0500 (EST) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id BC3868248068 for ; Mon, 22 Feb 2021 20:02:23 +0000 (UTC) X-FDA: 77846975766.28.27F6999 Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) by imf18.hostedemail.com (Postfix) with ESMTP id 53601200039B for ; Mon, 22 Feb 2021 20:02:24 +0000 (UTC) Received: by mail-vs1-f47.google.com with SMTP id f26so7213689vsr.0 for ; Mon, 22 Feb 2021 12:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1s+B5WtuYqSSpszySjpGGDqv3WX1BW5kV55DZgvvQNA=; b=s4pH8+BeaMZnq+b8f1rI/Cgce++Jav18J0Jq7QbHBP22fcOTAhsp3tKnBOqL6UtAKk d5j71txRaoQk1yKd9XRHLf2Q0ktDyYrVzoBCIUPtCf3yEr4iZRqXqJMqpLWgUTzLZK6f TbZGLxGQl1U5FATbsPDEMWpINFUFol6INlYHiboORP6nWZw8bcOWlgdrelOLKXG/yCE0 aSWpO2olSbHyS92l6j+ohWWcaRVJQ40gvACqCGZSZRX5zDSYmXcP+obTNpZLneBRhaDn 2JFAJUwkMh027egQ0rdueY4bH5lkIz5sTUqzlBIShUYFeISi5KDO8CSLIhWNEKM2Fc1C MFjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1s+B5WtuYqSSpszySjpGGDqv3WX1BW5kV55DZgvvQNA=; b=rs4wNvXdEwWgjX/FrxgmVayytamMyKSlRxAwRpw0HGAAXR/IySxsHpWBVCJVh5Ugl7 3G8wpvQieMKHqbvtJvwg6w7p05gpDnjVqL6sqJpQcDEHifpgJXllBIqCcuDKMHOIGc/W DbM0ZYIPLB6uoCN27jHbVuff6TWs8It8j2fRssdMtylWLeXR+eGGOegMQ3+r06XpM2/r wdZLqGZxyXqQn/BFILNAeWqLTLY/HtUhTuj0TCZmYjjb8bG76q2Weor2qJGczNAitBic 3iE7GSbIoeG+aqqSjlEH1ppATJf7KhguvKxprPbc7WdYV84tlooXOe5HVX+J9vxRpDpa 0ivw== X-Gm-Message-State: AOAM530TvxK8PFX9Dv4PZN+vGpbSxLeiJfFdOPaBXxXt7e3CNpMFPC8e 4kWLMnOj+j2kGta9JwAHaJm5BzJy/4H97BMbEaY= X-Google-Smtp-Source: ABdhPJz6tyBUAuy4ESCqM6ud3JCQD4MKXUM/7/UgFgXyYgJPbnfJMzRwHwbR56tvKXIbvxGjVMJfxROWuKRb1u3Sfu4= X-Received: by 2002:a67:99c6:: with SMTP id b189mr14675067vse.58.1614024141070; Mon, 22 Feb 2021 12:02:21 -0800 (PST) MIME-Version: 1.0 References: <202102192159.vSI24Z2E-lkp@intel.com> In-Reply-To: <202102192159.vSI24Z2E-lkp@intel.com> From: Souptick Joarder Date: Tue, 23 Feb 2021 01:32:09 +0530 Message-ID: Subject: Re: [linux-next:master 6011/11791] fs/nfs/super.c:90:40: warning: unused variable 'nfs_ssc_clnt_ops_tbl' To: kernel test robot Cc: Dai Ngo , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Linux Memory Management List , Chuck Lever Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 53601200039B X-Stat-Signature: 5yiepq5r39ta744yjb54yofzhjoqb97u Received-SPF: none (gmail.com>: No applicable sender policy available) receiver=imf18; identity=mailfrom; envelope-from=""; helo=mail-vs1-f47.google.com; client-ip=209.85.217.47 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1614024144-176103 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: On Fri, Feb 19, 2021 at 6:34 PM kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: ff90dfd2579b2c7bc1f0baa0cb99c918c6c1ec64 > commit: 02591f9febd5f69bb4c266a4abf899c4cf21964f [6011/11791] NFSv4_2: SSC helper should use its own config. > config: x86_64-randconfig-r034-20210219 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install x86_64 cross compiling tool for clang build > # apt-get install binutils-x86-64-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=02591f9febd5f69bb4c266a4abf899c4cf21964f > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 02591f9febd5f69bb4c266a4abf899c4cf21964f > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> fs/nfs/super.c:90:40: warning: unused variable 'nfs_ssc_clnt_ops_tbl' [-Wunused-const-variable] > static const struct nfs_ssc_client_ops nfs_ssc_clnt_ops_tbl = { > ^ > 1 warning generated. > -- > >> fs/nfs/nfs4file.c:410:41: warning: unused variable 'nfs4_ssc_clnt_ops_tbl' [-Wunused-const-variable] > static const struct nfs4_ssc_client_ops nfs4_ssc_clnt_ops_tbl = { > ^ > 1 warning generated. > CONFIG_NFSD_V4 not defined. > > vim +/nfs_ssc_clnt_ops_tbl +90 fs/nfs/super.c > > f7b422b17ee5ee David Howells 2006-06-09 88 > 02591f9febd5f6 Dai Ngo 2021-01-28 89 #ifdef CONFIG_NFS_V4_2 > 0cfcd405e758ba Dai Ngo 2020-10-18 @90 static const struct nfs_ssc_client_ops nfs_ssc_clnt_ops_tbl = { > 0cfcd405e758ba Dai Ngo 2020-10-18 91 .sco_sb_deactive = nfs_sb_deactive, > 0cfcd405e758ba Dai Ngo 2020-10-18 92 }; > 02591f9febd5f6 Dai Ngo 2021-01-28 93 #endif > 0cfcd405e758ba Dai Ngo 2020-10-18 94 > > :::::: The code at line 90 was first introduced by commit > :::::: 0cfcd405e758ba1d277e58436fb32f06888c3e41 NFSv4.2: Fix NFS4ERR_STALE error when doing inter server copy > > :::::: TO: Dai Ngo > :::::: CC: J. Bruce Fields > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org