[linux-next:master 8586/10945] drivers/platform/x86/intel/punit_ipc.c:311:36: warning: unused variable 'punit_ipc_acpi_ids'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kate,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   5e63226c72287bc6c6724d4fc7e157af0e3d7908
commit: 386d17b22e422da3285e33fe8dcc282f02d98178 [8586/10945] platform/x86: intel_punit_ipc: Move to intel sub-directory
config: i386-buildonly-randconfig-r006-20210827 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1076082a0d97bd5c16a25ee7cf3dbb6ee4b5a9fe)
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/next/linux-next.git/commit/?id=386d17b22e422da3285e33fe8dcc282f02d98178
        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 386d17b22e422da3285e33fe8dcc282f02d98178
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386 

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

All warnings (new ones prefixed by >>):

>> drivers/platform/x86/intel/punit_ipc.c:311:36: warning: unused variable 'punit_ipc_acpi_ids' [-Wunused-const-variable]
   static const struct acpi_device_id punit_ipc_acpi_ids[] = {
                                      ^
   1 warning generated.


vim +/punit_ipc_acpi_ids +311 drivers/platform/x86/intel/punit_ipc.c

fdca4f16f57da7 drivers/platform/x86/intel_punit_ipc.c Qipeng Zha      2015-12-11  310  
fdca4f16f57da7 drivers/platform/x86/intel_punit_ipc.c Qipeng Zha      2015-12-11 @311  static const struct acpi_device_id punit_ipc_acpi_ids[] = {
fdca4f16f57da7 drivers/platform/x86/intel_punit_ipc.c Qipeng Zha      2015-12-11  312  	{ "INT34D4", 0 },
fdca4f16f57da7 drivers/platform/x86/intel_punit_ipc.c Qipeng Zha      2015-12-11  313  	{ }
fdca4f16f57da7 drivers/platform/x86/intel_punit_ipc.c Qipeng Zha      2015-12-11  314  };
bc1eca606d8084 drivers/platform/x86/intel_punit_ipc.c Andy Shevchenko 2021-05-19  315  MODULE_DEVICE_TABLE(acpi, punit_ipc_acpi_ids);
fdca4f16f57da7 drivers/platform/x86/intel_punit_ipc.c Qipeng Zha      2015-12-11  316  

:::::: The code at line 311 was first introduced by commit
:::::: fdca4f16f57da76a8e68047923588a87d1c01f0a platform:x86: add Intel P-Unit mailbox IPC driver

:::::: TO: Qipeng Zha <qipeng.zha@xxxxxxxxx>
:::::: CC: Darren Hart <dvhart@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux