From: kernel test robot <lkp@intel.com>
To: Qianggui Song <qianggui.song@amlogic.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-gpio@vger.kernel.org,
Linus Walleij <linus.walleij@linaro.org>
Subject: [linusw-pinctrl:devel 10/12] drivers/pinctrl/meson/pinctrl-meson-s4.c:178:27: warning: unused variable 'tdm_sclk1_c_pins'
Date: Sun, 30 Jan 2022 13:33:23 +0800 [thread overview]
Message-ID: <202201301326.VmKBKVNC-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
head: aa74c44be19c8b1de38d955c2c45c309991c805a
commit: 775214d389c259c77ff2b4de50bdaab5c9bd5db3 [10/12] pinctrl: meson: add pinctrl driver support for Meson-S4 Soc
config: arm64-buildonly-randconfig-r005-20220130 (https://download.01.org/0day-ci/archive/20220130/202201301326.VmKBKVNC-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f1c18acb07aa40f42b87b70462a6d1ab77a4825c)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/commit/?id=775214d389c259c77ff2b4de50bdaab5c9bd5db3
git remote add linusw-pinctrl https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
git fetch --no-tags linusw-pinctrl devel
git checkout 775214d389c259c77ff2b4de50bdaab5c9bd5db3
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/pinctrl/meson/
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/meson/pinctrl-meson-s4.c:178:27: warning: unused variable 'tdm_sclk1_c_pins' [-Wunused-const-variable]
static const unsigned int tdm_sclk1_c_pins[] = { GPIOC_3 };
^
1 warning generated.
vim +/tdm_sclk1_c_pins +178 drivers/pinctrl/meson/pinctrl-meson-s4.c
173
174 /* Bank C func4 */
175 static const unsigned int tdm_d2_c_pins[] = { GPIOC_0 };
176 static const unsigned int tdm_d3_c_pins[] = { GPIOC_1 };
177 static const unsigned int tdm_fs1_c_pins[] = { GPIOC_2 };
> 178 static const unsigned int tdm_sclk1_c_pins[] = { GPIOC_3 };
179 static const unsigned int mclk_1_c_pins[] = { GPIOC_4 };
180 static const unsigned int tdm_d4_c_pins[] = { GPIOC_5 };
181 static const unsigned int tdm_d5_c_pins[] = { GPIOC_6 };
182
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-01-30 5:34 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=202201301326.VmKBKVNC-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=qianggui.song@amlogic.com \
/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;
as well as URLs for NNTP newsgroup(s).