linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kate Hsuan <hpa@redhat.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Hans de Goede <hdegoede@redhat.com>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: [linux-next:master 8586/10945] drivers/platform/x86/intel/punit_ipc.c:311:36: warning: unused variable 'punit_ipc_acpi_ids'
Date: Fri, 27 Aug 2021 22:22:33 +0800	[thread overview]
Message-ID: <202108272223.e5pYypTH-lkp@intel.com> (raw)

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

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@intel.com>

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@intel.com>
:::::: CC: Darren Hart <dvhart@linux.intel.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: 46136 bytes --]

                 reply	other threads:[~2021-08-27 14:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202108272223.e5pYypTH-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=hdegoede@redhat.com \
    --cc=hpa@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=llvm@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox