All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: fs/nfs/super.c:90:40: warning: unused variable 'nfs_ssc_clnt_ops_tbl'
Date: Wed, 14 Apr 2021 21:50:13 +0800	[thread overview]
Message-ID: <202104142103.aQqRqWS0-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3038 bytes --]

Hi Dai,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   50987beca096a7ed4f453a6da245fd6a2fadedeb
commit: 02591f9febd5f69bb4c266a4abf899c4cf21964f NFSv4_2: SSC helper should use its own config.
date:   3 months ago
config: arm-randconfig-r016-20210414 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9829f5e6b1bca9b61efc629770d28bb9014dec45)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=02591f9febd5f69bb4c266a4abf899c4cf21964f
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 02591f9febd5f69bb4c266a4abf899c4cf21964f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

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.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for ARM_CPU_SUSPEND
   Depends on ARCH_SUSPEND_POSSIBLE
   Selected by
   - ARM_QCOM_SPM_CPUIDLE && CPU_IDLE && (ARM || ARM64) && (ARCH_QCOM || COMPILE_TEST && !ARM64


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 <dai.ngo@oracle.com>
:::::: CC: J. Bruce Fields <bfields@redhat.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38210 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Dai Ngo <dai.ngo@oracle.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org,
	Chuck Lever <chuck.lever@oracle.com>
Subject: fs/nfs/super.c:90:40: warning: unused variable 'nfs_ssc_clnt_ops_tbl'
Date: Wed, 14 Apr 2021 21:50:13 +0800	[thread overview]
Message-ID: <202104142103.aQqRqWS0-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2973 bytes --]

Hi Dai,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   50987beca096a7ed4f453a6da245fd6a2fadedeb
commit: 02591f9febd5f69bb4c266a4abf899c4cf21964f NFSv4_2: SSC helper should use its own config.
date:   3 months ago
config: arm-randconfig-r016-20210414 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9829f5e6b1bca9b61efc629770d28bb9014dec45)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=02591f9febd5f69bb4c266a4abf899c4cf21964f
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 02591f9febd5f69bb4c266a4abf899c4cf21964f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

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.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for ARM_CPU_SUSPEND
   Depends on ARCH_SUSPEND_POSSIBLE
   Selected by
   - ARM_QCOM_SPM_CPUIDLE && CPU_IDLE && (ARM || ARM64) && (ARCH_QCOM || COMPILE_TEST && !ARM64


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 <dai.ngo@oracle.com>
:::::: CC: J. Bruce Fields <bfields@redhat.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38210 bytes --]

             reply	other threads:[~2021-04-14 13:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-14 13:50 kernel test robot [this message]
2021-04-14 13:50 ` fs/nfs/super.c:90:40: warning: unused variable 'nfs_ssc_clnt_ops_tbl' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-03-26 12:57 kernel test robot
2021-03-26 12:57 ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202104142103.aQqRqWS0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.