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:   Sat, 9 Oct 2021 14:20:39 +0800
From:   kernel test robot <lkp@...el.com>
To:     Alex Deucher <alexander.deucher@....com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [agd5f:drm-next-5.16 105/169]
 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:117:37: warning: unused
 variable 'hawaii_device_info'

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next-5.16
head:   40348baedfbc6500e7a090c7da1d55b6c94c334f
commit: c868d58442ebff350bbb25e38fe4f62c0682129f [105/169] drm/amdkfd: convert kfd_device.c to use GC IP version
config: arm64-randconfig-r015-20211009 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 30caca39f401ae17927439c0a0bd6d1b1916dd6a)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f drm-next-5.16
        git checkout c868d58442ebff350bbb25e38fe4f62c0682129f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64 

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

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:98:37: warning: unused variable 'raven_device_info' [-Wunused-const-variable]
   static const struct kfd_device_info raven_device_info = {
                                       ^
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:117:37: warning: unused variable 'hawaii_device_info' [-Wunused-const-variable]
   static const struct kfd_device_info hawaii_device_info = {
                                       ^
   2 warnings generated.


vim +/hawaii_device_info +117 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c

4a488a7ad71401 Oded Gabbay    2014-07-16  116  
a3084e6c522f94 Felix Kuehling 2018-01-04 @117  static const struct kfd_device_info hawaii_device_info = {
a3084e6c522f94 Felix Kuehling 2018-01-04  118  	.asic_family = CHIP_HAWAII,
c181159a5b1e1e Yong Zhao      2019-08-01  119  	.asic_name = "hawaii",
9d6fa9c7ff930d Graham Sider   2021-07-12  120  	.gfx_target_version = 70001,
a3084e6c522f94 Felix Kuehling 2018-01-04  121  	.max_pasid_bits = 16,
a3084e6c522f94 Felix Kuehling 2018-01-04  122  	/* max num of queues for KV.TODO should be a dynamic value */
a3084e6c522f94 Felix Kuehling 2018-01-04  123  	.max_no_of_hqd	= 24,
ada2b29c4a79ef Felix Kuehling 2018-04-10  124  	.doorbell_size  = 4,
a3084e6c522f94 Felix Kuehling 2018-01-04  125  	.ih_ring_entry_size = 4 * sizeof(uint32_t),
a3084e6c522f94 Felix Kuehling 2018-01-04  126  	.event_interrupt_class = &event_interrupt_class_cik,
a3084e6c522f94 Felix Kuehling 2018-01-04  127  	.num_of_watch_points = 4,
a3084e6c522f94 Felix Kuehling 2018-01-04  128  	.mqd_size_aligned = MQD_SIZE_ALIGNED,
a3084e6c522f94 Felix Kuehling 2018-01-04  129  	.supports_cwsr = false,
64d1c3a43a6fb5 Felix Kuehling 2017-12-08  130  	.needs_iommu_device = false,
a3084e6c522f94 Felix Kuehling 2018-01-04  131  	.needs_pci_atomics = false,
98bb92222eef6a Yong Zhao      2018-07-13  132  	.num_sdma_engines = 2,
1b4670f6983156 Oak Zeng       2019-02-07  133  	.num_xgmi_sdma_engines = 0,
d50941892ed9d1 Shaoyun Liu    2018-02-09  134  	.num_sdma_queues_per_engine = 2,
a3084e6c522f94 Felix Kuehling 2018-01-04  135  };
a3084e6c522f94 Felix Kuehling 2018-01-04  136  

:::::: The code at line 117 was first introduced by commit
:::::: a3084e6c522f94130c9dfc26fe6458c353dbc0c9 drm/amdkfd: Add dGPU device IDs and device info

:::::: TO: Felix Kuehling <Felix.Kuehling@....com>
:::::: CC: Oded Gabbay <oded.gabbay@...il.com>

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

Download attachment ".config.gz" of type "application/gzip" (49020 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ