* drivers/pinctrl/qcom/pinctrl-ipq5018.c:244:27: warning: unused variable '_groups'
@ 2023-07-04 2:41 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2023-07-04 2:41 UTC (permalink / raw)
To: Sricharan Ramabadhran
Cc: llvm, oe-kbuild-all, linux-kernel, Linus Walleij, Bjorn Andersson,
Nitheesh Sekar, Varadarajan Narayanan
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 24be4d0b46bb0c3c1dc7bacd30957d6144a70dfc
commit: 725d1c8916583f9c09e5f05e5a55dd47fdca61c1 pinctrl: qcom: Add IPQ5018 pinctrl driver
date: 4 weeks ago
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20230704/202307041035.xpbEVRNs-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230704/202307041035.xpbEVRNs-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307041035.xpbEVRNs-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/pinctrl/qcom/pinctrl-ipq5018.c:244:27: warning: unused variable '_groups' [-Wunused-const-variable]
244 | static const char * const _groups[] = {
| ^
1 warning generated.
vim +/_groups +244 drivers/pinctrl/qcom/pinctrl-ipq5018.c
243
> 244 static const char * const _groups[] = {
245 "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7",
246 "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14",
247 "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21",
248 "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28",
249 "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
250 "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
251 "gpio43", "gpio44", "gpio45", "gpio46",
252 };
253
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* drivers/pinctrl/qcom/pinctrl-ipq5018.c:244:27: warning: unused variable '_groups'
@ 2023-07-12 0:32 kernel test robot
2023-07-20 19:21 ` Linus Walleij
0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2023-07-12 0:32 UTC (permalink / raw)
To: Sricharan Ramabadhran
Cc: llvm, oe-kbuild-all, linux-kernel, Linus Walleij, Bjorn Andersson,
Nitheesh Sekar, Varadarajan Narayanan
Hi Sricharan,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3f01e9fed8454dcd89727016c3e5b2fbb8f8e50c
commit: 725d1c8916583f9c09e5f05e5a55dd47fdca61c1 pinctrl: qcom: Add IPQ5018 pinctrl driver
date: 5 weeks ago
config: arm64-randconfig-r015-20230712 (https://download.01.org/0day-ci/archive/20230712/202307120814.vWPY6URk-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: (https://download.01.org/0day-ci/archive/20230712/202307120814.vWPY6URk-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307120814.vWPY6URk-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/pinctrl/qcom/pinctrl-ipq5018.c:244:27: warning: unused variable '_groups' [-Wunused-const-variable]
static const char * const _groups[] = {
^
1 warning generated.
vim +/_groups +244 drivers/pinctrl/qcom/pinctrl-ipq5018.c
243
> 244 static const char * const _groups[] = {
245 "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7",
246 "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14",
247 "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21",
248 "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28",
249 "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
250 "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
251 "gpio43", "gpio44", "gpio45", "gpio46",
252 };
253
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: drivers/pinctrl/qcom/pinctrl-ipq5018.c:244:27: warning: unused variable '_groups'
2023-07-12 0:32 kernel test robot
@ 2023-07-20 19:21 ` Linus Walleij
2023-07-21 4:06 ` Sricharan Ramabadhran
0 siblings, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2023-07-20 19:21 UTC (permalink / raw)
To: kernel test robot, Sricharan Ramabadhran, Bjorn Andersson
Cc: llvm, oe-kbuild-all, linux-kernel, Nitheesh Sekar,
Varadarajan Narayanan
Hi Srirachan, Bjorn,
is this warning valid or something I should ignore?
Yours,
Linus Walleij
On Wed, Jul 12, 2023 at 2:32 AM kernel test robot <lkp@intel.com> wrote:
>
> Hi Sricharan,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 3f01e9fed8454dcd89727016c3e5b2fbb8f8e50c
> commit: 725d1c8916583f9c09e5f05e5a55dd47fdca61c1 pinctrl: qcom: Add IPQ5018 pinctrl driver
> date: 5 weeks ago
> config: arm64-randconfig-r015-20230712 (https://download.01.org/0day-ci/archive/20230712/202307120814.vWPY6URk-lkp@intel.com/config)
> compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
> reproduce: (https://download.01.org/0day-ci/archive/20230712/202307120814.vWPY6URk-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202307120814.vWPY6URk-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
> >> drivers/pinctrl/qcom/pinctrl-ipq5018.c:244:27: warning: unused variable '_groups' [-Wunused-const-variable]
> static const char * const _groups[] = {
> ^
> 1 warning generated.
>
>
> vim +/_groups +244 drivers/pinctrl/qcom/pinctrl-ipq5018.c
>
> 243
> > 244 static const char * const _groups[] = {
> 245 "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7",
> 246 "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14",
> 247 "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21",
> 248 "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28",
> 249 "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
> 250 "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
> 251 "gpio43", "gpio44", "gpio45", "gpio46",
> 252 };
> 253
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: drivers/pinctrl/qcom/pinctrl-ipq5018.c:244:27: warning: unused variable '_groups'
2023-07-20 19:21 ` Linus Walleij
@ 2023-07-21 4:06 ` Sricharan Ramabadhran
0 siblings, 0 replies; 4+ messages in thread
From: Sricharan Ramabadhran @ 2023-07-21 4:06 UTC (permalink / raw)
To: Linus Walleij, kernel test robot, Bjorn Andersson
Cc: llvm, oe-kbuild-all, linux-kernel, Nitheesh Sekar,
Varadarajan Narayanan
Hi Linus,
On 7/21/2023 12:51 AM, Linus Walleij wrote:
> Hi Srirachan, Bjorn,
>
> is this warning valid or something I should ignore?
>
oops, will fix this and send a separate patch.
Did not see this with the default defconfig build though.
Regards,
Sricharan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-21 4:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04 2:41 drivers/pinctrl/qcom/pinctrl-ipq5018.c:244:27: warning: unused variable '_groups' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-07-12 0:32 kernel test robot
2023-07-20 19:21 ` Linus Walleij
2023-07-21 4:06 ` Sricharan Ramabadhran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox