lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 14 Feb 2022 06:02:04 +0800
From:   kernel test robot <lkp@...el.com>
To:     Boqun Feng <boqun.feng@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [boqun:dev/arm64 1/3] drivers/pci/controller/pci-hyperv.c:769:13:
 error: 'hv_set_msi_entry_from_desc' defined but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/boqun/linux.git dev/arm64
head:   715cdf131dd8fcb33591dc7143d193050368ecc1
commit: 39649970d5e2d161268189e1dcb9b3cb7a6ee03b [1/3] PCI: hv: Avoid the retarget interrupt hypercall in irq_unmask() on ARM64
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220214/202202140532.7tKzn8ca-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/boqun/linux.git/commit/?id=39649970d5e2d161268189e1dcb9b3cb7a6ee03b
        git remote add boqun https://git.kernel.org/pub/scm/linux/kernel/git/boqun/linux.git
        git fetch --no-tags boqun dev/arm64
        git checkout 39649970d5e2d161268189e1dcb9b3cb7a6ee03b
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/ drivers/pci/ kernel//

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

All errors (new ones prefixed by >>):

>> drivers/pci/controller/pci-hyperv.c:769:13: error: 'hv_set_msi_entry_from_desc' defined but not used [-Werror=unused-function]
     769 | static void hv_set_msi_entry_from_desc(union hv_msi_entry *msi_entry,
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/hv_set_msi_entry_from_desc +769 drivers/pci/controller/pci-hyperv.c

d9932b46915664 Sunil Muthuswamy 2022-01-05  768  
d9932b46915664 Sunil Muthuswamy 2022-01-05 @769  static void hv_set_msi_entry_from_desc(union hv_msi_entry *msi_entry,
d9932b46915664 Sunil Muthuswamy 2022-01-05  770  				       struct msi_desc *msi_desc)
d9932b46915664 Sunil Muthuswamy 2022-01-05  771  {
d9932b46915664 Sunil Muthuswamy 2022-01-05  772  	msi_entry->address = ((u64)msi_desc->msg.address_hi << 32) |
d9932b46915664 Sunil Muthuswamy 2022-01-05  773  			      msi_desc->msg.address_lo;
d9932b46915664 Sunil Muthuswamy 2022-01-05  774  	msi_entry->data = msi_desc->msg.data;
d9932b46915664 Sunil Muthuswamy 2022-01-05  775  }
d9932b46915664 Sunil Muthuswamy 2022-01-05  776  

:::::: The code at line 769 was first introduced by commit
:::::: d9932b46915664c88709d59927fa67e797adec56 PCI: hv: Add arm64 Hyper-V vPCI support

:::::: TO: Sunil Muthuswamy <sunilmut@...rosoft.com>
:::::: CC: Bjorn Helgaas <bhelgaas@...gle.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ