[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202110052101.CZroR9ku-lkp@intel.com>
Date: Tue, 5 Oct 2021 21:06:13 +0800
From: kernel test robot <lkp@...el.com>
To: Kunihiko Hayashi <hayashi.kunihiko@...ionext.com>,
Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Masami Hiramatsu <mhiramat@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-gpio@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Kunihiko Hayashi <hayashi.kunihiko@...ionext.com>
Subject: Re: [PATCH 3/3] pinctrl: uniphier: Add UniPhier NX1 pinctrl driver
Hi Kunihiko,
I love your patch! Yet something to improve:
[auto build test ERROR on linusw-pinctrl/devel]
[also build test ERROR on robh/for-next v5.15-rc3 next-20210922]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Kunihiko-Hayashi/pinctrl-uniphier-Introduce-some-features-and-NX1-support/20211005-101346
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 11.2.0
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://github.com/0day-ci/linux/commit/c68781cbddcc323070eee04896f6f858840a60dc
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Kunihiko-Hayashi/pinctrl-uniphier-Introduce-some-features-and-NX1-support/20211005-101346
git checkout c68781cbddcc323070eee04896f6f858840a60dc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/pinctrl/uniphier/pinctrl-uniphier-nx1.c:429:27: error: 'usb3_groups' defined but not used [-Werror=unused-const-variable=]
429 | static const char * const usb3_groups[] = {"usb3"};
| ^~~~~~~~~~~
>> drivers/pinctrl/uniphier/pinctrl-uniphier-nx1.c:428:27: error: 'usb2_groups' defined but not used [-Werror=unused-const-variable=]
428 | static const char * const usb2_groups[] = {"usb2"};
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/usb3_groups +429 drivers/pinctrl/uniphier/pinctrl-uniphier-nx1.c
407
408 static const char * const emmc_groups[] = {"emmc", "emmc_dat8"};
409 static const char * const ether_rgmii_groups[] = {"ether_rgmii"};
410 static const char * const ether_rmii_groups[] = {"ether_rmii"};
411 static const char * const i2c0_groups[] = {"i2c0"};
412 static const char * const i2c1_groups[] = {"i2c1"};
413 static const char * const i2c2_groups[] = {"i2c2"};
414 static const char * const i2c3_groups[] = {"i2c3"};
415 static const char * const i2c4_groups[] = {"i2c4"};
416 static const char * const i2c5_groups[] = {"i2c5"};
417 static const char * const i2c6_groups[] = {"i2c6"};
418 static const char * const sd_groups[] = {"sd"};
419 static const char * const spi0_groups[] = {"spi0"};
420 static const char * const spi1_groups[] = {"spi1"};
421 static const char * const uart0_groups[] = {"uart0"};
422 static const char * const uart1_groups[] = {"uart1", "uart1_ctsrts",
423 "uart1_modem"};
424 static const char * const uart2_groups[] = {"uart2", "uart2_ctsrts"};
425 static const char * const uart3_groups[] = {"uart3"};
426 static const char * const usb0_groups[] = {"usb0"};
427 static const char * const usb1_groups[] = {"usb1"};
> 428 static const char * const usb2_groups[] = {"usb2"};
> 429 static const char * const usb3_groups[] = {"usb3"};
430
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (74091 bytes)
Powered by blists - more mailing lists