* drivers/pinctrl/meson/pinctrl-meson-s4.c:178:27: warning: unused variable 'tdm_sclk1_c_pins'
@ 2022-05-25 20:36 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-05-25 20:36 UTC (permalink / raw)
To: Qianggui Song; +Cc: llvm, kbuild-all, linux-kernel, Linus Walleij
Hi Qianggui,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 64e34b50d7aeee7082287ec39f9d34d4e60f3a04
commit: 775214d389c259c77ff2b4de50bdaab5c9bd5db3 pinctrl: meson: add pinctrl driver support for Meson-S4 Soc
date: 4 months ago
config: arm64-randconfig-r006-20220524 (https://download.01.org/0day-ci/archive/20220526/202205260425.ZVzHhy0e-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d52a6e75b0c402c7f3b42a2b1b2873f151220947)
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/torvalds/linux.git/commit/?id=775214d389c259c77ff2b4de50bdaab5c9bd5db3
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 775214d389c259c77ff2b4de50bdaab5c9bd5db3
# save the config file
mkdir build_dir && cp config build_dir/.config
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 where applicable
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
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread* drivers/pinctrl/meson/pinctrl-meson-s4.c:178:27: warning: unused variable 'tdm_sclk1_c_pins'
@ 2022-03-29 4:39 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-03-29 4:39 UTC (permalink / raw)
To: Qianggui Song; +Cc: llvm, kbuild-all, linux-kernel, Linus Walleij
Hi Qianggui,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1930a6e739c4b4a654a69164dbe39e554d228915
commit: 775214d389c259c77ff2b4de50bdaab5c9bd5db3 pinctrl: meson: add pinctrl driver support for Meson-S4 Soc
date: 8 weeks ago
config: arm64-randconfig-r015-20220328 (https://download.01.org/0day-ci/archive/20220329/202203291224.XHa6U5lx-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
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/torvalds/linux.git/commit/?id=775214d389c259c77ff2b4de50bdaab5c9bd5db3
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
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
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-25 20:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25 20:36 drivers/pinctrl/meson/pinctrl-meson-s4.c:178:27: warning: unused variable 'tdm_sclk1_c_pins' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2022-03-29 4:39 kernel test robot
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®