From: kernel test robot <lkp@intel.com>
To: Daniel Palmer <daniel@0x0f.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [chenxing:msc313_mainlining 40/69] drivers/pinctrl/mstar/pinctrl-msc313-pm.c:35:27: warning: unused variable 'pm_uart_groups'
Date: Sun, 21 Nov 2021 10:00:37 +0800 [thread overview]
Message-ID: <202111211031.sUCX99YF-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3035 bytes --]
Hi Daniel,
First bad commit (maybe != root cause):
tree: git://github.com/linux-chenxing/linux.git msc313_mainlining
head: df6df62e60f3a32773b02a41e0d6a4e0f2b353b5
commit: baf52d9889a05e4a516eb56f326b4e6525dc0fa8 [40/69] pinctrl: mstar: msc313 pinctrl driver
config: riscv-randconfig-r002-20211120 (attached as .config)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/linux-chenxing/linux/commit/baf52d9889a05e4a516eb56f326b4e6525dc0fa8
git remote add chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags chenxing msc313_mainlining
git checkout baf52d9889a05e4a516eb56f326b4e6525dc0fa8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=riscv
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/pinctrl/mstar/pinctrl-msc313-pm.c:35:27: warning: unused variable 'pm_uart_groups' [-Wunused-const-variable]
static const char * const pm_uart_groups[] = {
^
>> drivers/pinctrl/mstar/pinctrl-msc313-pm.c:39:27: warning: unused variable 'pm_spi_groups' [-Wunused-const-variable]
static const char * const pm_spi_groups[] = {
^
>> drivers/pinctrl/mstar/pinctrl-msc313-pm.c:43:27: warning: unused variable 'pm_irin_groups' [-Wunused-const-variable]
static const char * const pm_irin_groups[] = {
^
3 warnings generated.
vim +/pm_uart_groups +35 drivers/pinctrl/mstar/pinctrl-msc313-pm.c
c4e1ce29f34995 Daniel Palmer 2021-01-10 34
c4e1ce29f34995 Daniel Palmer 2021-01-10 @35 static const char * const pm_uart_groups[] = {
c4e1ce29f34995 Daniel Palmer 2021-01-10 36 GROUPNAME_PM_UART,
c4e1ce29f34995 Daniel Palmer 2021-01-10 37 };
c4e1ce29f34995 Daniel Palmer 2021-01-10 38
c4e1ce29f34995 Daniel Palmer 2021-01-10 @39 static const char * const pm_spi_groups[] = {
c4e1ce29f34995 Daniel Palmer 2021-01-10 40 GROUPNAME_PM_SPI,
c4e1ce29f34995 Daniel Palmer 2021-01-10 41 };
c4e1ce29f34995 Daniel Palmer 2021-01-10 42
c4e1ce29f34995 Daniel Palmer 2021-01-10 @43 static const char * const pm_irin_groups[] = {
c4e1ce29f34995 Daniel Palmer 2021-01-10 44 GROUPNAME_PM_IRIN,
c4e1ce29f34995 Daniel Palmer 2021-01-10 45 };
c4e1ce29f34995 Daniel Palmer 2021-01-10 46
:::::: The code at line 35 was first introduced by commit
:::::: c4e1ce29f349954fb2dbcae8047330e375dbbae1 pinctrl: mstar: msc313 pm pinctrl driver
:::::: TO: Daniel Palmer <daniel@0x0f.com>
:::::: CC: Daniel Palmer <daniel@0x0f.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: 47389 bytes --]
reply other threads:[~2021-11-21 2:01 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=202111211031.sUCX99YF-lkp@intel.com \
--to=lkp@intel.com \
--cc=daniel@0x0f.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®