All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Tomer Maimon <tmaimon77@gmail.com>,
	avifishman70@gmail.com, tali.perry1@gmail.com, joel@jms.id.au,
	venture@google.com, yuenn@google.com, benjaminfair@google.com,
	linus.walleij@linaro.org, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, j.neuschaefer@gmx.net,
	zhengbin13@huawei.com
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Tomer Maimon <tmaimon77@gmail.com>
Subject: Re: [PATCH v2 2/2] pinctrl: nuvoton: add NPCM8XX pinctrl and GPIO driver
Date: Mon, 18 Jul 2022 09:24:00 +0800	[thread overview]
Message-ID: <202207180959.yy7mZtRy-lkp@intel.com> (raw)
In-Reply-To: <20220714122322.63663-3-tmaimon77@gmail.com>

Hi Tomer,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linusw-pinctrl/devel]
[also build test WARNING on linus/master v5.19-rc7 next-20220715]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Tomer-Maimon/pinctrl-nuvoton-add-pinmux-and-GPIO-driver-for-NPCM8XX/20220714-202424
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
config: hexagon-allyesconfig (https://download.01.org/0day-ci/archive/20220718/202207180959.yy7mZtRy-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 07022e6cf9b5b3baa642be53d0b3c3f1c403dbfd)
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/intel-lab-lkp/linux/commit/0a5f158322b21ab2b71cc606adc2ee7573d8be0d
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Tomer-Maimon/pinctrl-nuvoton-add-pinmux-and-GPIO-driver-for-NPCM8XX/20220714-202424
        git checkout 0a5f158322b21ab2b71cc606adc2ee7573d8be0d
        # 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=hexagon SHELL=/bin/bash drivers/media/i2c/ drivers/net/pcs/ drivers/pinctrl/nuvoton/ kernel/trace/

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/nuvoton/pinctrl-npcm8xx.c:481:18: warning: unused variable 'smb14b_pins' [-Wunused-const-variable]
   static const int smb14b_pins[] = { 32, 187 };
                    ^
   1 warning generated.


vim +/smb14b_pins +481 drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c

   439	
   440	static const int smb0_pins[]  = { 115, 114 };
   441	static const int smb0b_pins[] = { 195, 194 };
   442	static const int smb0c_pins[] = { 202, 196 };
   443	static const int smb0d_pins[] = { 198, 199 };
   444	static const int smb0den_pins[] = { 197 };
   445	static const int smb1_pins[]  = { 117, 116 };
   446	static const int smb1b_pins[] = { 126, 127 };
   447	static const int smb1c_pins[] = { 124, 125 };
   448	static const int smb1d_pins[] = { 4, 5 };
   449	static const int smb2_pins[]  = { 119, 118 };
   450	static const int smb2b_pins[] = { 122, 123 };
   451	static const int smb2c_pins[] = { 120, 121 };
   452	static const int smb2d_pins[] = { 6, 7 };
   453	static const int smb3_pins[]  = { 30, 31 };
   454	static const int smb3b_pins[] = { 39, 40 };
   455	static const int smb3c_pins[] = { 37, 38 };
   456	static const int smb3d_pins[] = { 59, 60 };
   457	static const int smb4_pins[]  = { 28, 29 };
   458	static const int smb4b_pins[] = { 18, 19 };
   459	static const int smb4c_pins[] = { 20, 21 };
   460	static const int smb4d_pins[] = { 22, 23 };
   461	static const int smb4den_pins[] = { 17 };
   462	static const int smb5_pins[]  = { 26, 27 };
   463	static const int smb5b_pins[] = { 13, 12 };
   464	static const int smb5c_pins[] = { 15, 14 };
   465	static const int smb5d_pins[] = { 94, 93 };
   466	static const int smb6_pins[]  = { 172, 171 };
   467	static const int smb6b_pins[] = { 2, 3 };
   468	static const int smb6c_pins[]  = { 0, 1 };
   469	static const int smb6d_pins[]  = { 10, 11 };
   470	static const int smb7_pins[]  = { 174, 173 };
   471	static const int smb7b_pins[]  = { 16, 141 };
   472	static const int smb7c_pins[]  = { 24, 25 };
   473	static const int smb7d_pins[]  = { 142, 143 };
   474	static const int smb8_pins[]  = { 129, 128 };
   475	static const int smb9_pins[]  = { 131, 130 };
   476	static const int smb10_pins[] = { 133, 132 };
   477	static const int smb11_pins[] = { 135, 134 };
   478	static const int smb12_pins[] = { 221, 220 };
   479	static const int smb13_pins[] = { 223, 222 };
   480	static const int smb14_pins[] = { 22, 23 };
 > 481	static const int smb14b_pins[] = { 32, 187 };
   482	static const int smb15_pins[] = { 20, 21 };
   483	static const int smb15b_pins[] = { 192, 191 };
   484	static const int smb16_pins[] = { 10, 11 };
   485	static const int smb16b_pins[] = { 218, 219 };
   486	static const int smb17_pins[] = { 3, 2 };
   487	static const int smb18_pins[] = { 0, 1 };
   488	static const int smb19_pins[] = { 60, 59 };
   489	static const int smb20_pins[] = { 234, 235 };
   490	static const int smb21_pins[] = { 169, 170 };
   491	static const int smb22_pins[] = { 40, 39 };
   492	static const int smb23_pins[] = { 38, 37 };
   493	static const int smb23b_pins[] = { 134, 134 };
   494	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Tomer Maimon <tmaimon77@gmail.com>,
	avifishman70@gmail.com, tali.perry1@gmail.com, joel@jms.id.au,
	venture@google.com, yuenn@google.com, benjaminfair@google.com,
	linus.walleij@linaro.org, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, j.neuschaefer@gmx.net,
	zhengbin13@huawei.com
Cc: devicetree@vger.kernel.org, kbuild-all@lists.01.org,
	Tomer Maimon <tmaimon77@gmail.com>,
	openbmc@lists.ozlabs.org, llvm@lists.linux.dev,
	linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org
Subject: Re: [PATCH v2 2/2] pinctrl: nuvoton: add NPCM8XX pinctrl and GPIO driver
Date: Mon, 18 Jul 2022 09:24:00 +0800	[thread overview]
Message-ID: <202207180959.yy7mZtRy-lkp@intel.com> (raw)
In-Reply-To: <20220714122322.63663-3-tmaimon77@gmail.com>

Hi Tomer,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linusw-pinctrl/devel]
[also build test WARNING on linus/master v5.19-rc7 next-20220715]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Tomer-Maimon/pinctrl-nuvoton-add-pinmux-and-GPIO-driver-for-NPCM8XX/20220714-202424
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
config: hexagon-allyesconfig (https://download.01.org/0day-ci/archive/20220718/202207180959.yy7mZtRy-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 07022e6cf9b5b3baa642be53d0b3c3f1c403dbfd)
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/intel-lab-lkp/linux/commit/0a5f158322b21ab2b71cc606adc2ee7573d8be0d
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Tomer-Maimon/pinctrl-nuvoton-add-pinmux-and-GPIO-driver-for-NPCM8XX/20220714-202424
        git checkout 0a5f158322b21ab2b71cc606adc2ee7573d8be0d
        # 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=hexagon SHELL=/bin/bash drivers/media/i2c/ drivers/net/pcs/ drivers/pinctrl/nuvoton/ kernel/trace/

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/nuvoton/pinctrl-npcm8xx.c:481:18: warning: unused variable 'smb14b_pins' [-Wunused-const-variable]
   static const int smb14b_pins[] = { 32, 187 };
                    ^
   1 warning generated.


vim +/smb14b_pins +481 drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c

   439	
   440	static const int smb0_pins[]  = { 115, 114 };
   441	static const int smb0b_pins[] = { 195, 194 };
   442	static const int smb0c_pins[] = { 202, 196 };
   443	static const int smb0d_pins[] = { 198, 199 };
   444	static const int smb0den_pins[] = { 197 };
   445	static const int smb1_pins[]  = { 117, 116 };
   446	static const int smb1b_pins[] = { 126, 127 };
   447	static const int smb1c_pins[] = { 124, 125 };
   448	static const int smb1d_pins[] = { 4, 5 };
   449	static const int smb2_pins[]  = { 119, 118 };
   450	static const int smb2b_pins[] = { 122, 123 };
   451	static const int smb2c_pins[] = { 120, 121 };
   452	static const int smb2d_pins[] = { 6, 7 };
   453	static const int smb3_pins[]  = { 30, 31 };
   454	static const int smb3b_pins[] = { 39, 40 };
   455	static const int smb3c_pins[] = { 37, 38 };
   456	static const int smb3d_pins[] = { 59, 60 };
   457	static const int smb4_pins[]  = { 28, 29 };
   458	static const int smb4b_pins[] = { 18, 19 };
   459	static const int smb4c_pins[] = { 20, 21 };
   460	static const int smb4d_pins[] = { 22, 23 };
   461	static const int smb4den_pins[] = { 17 };
   462	static const int smb5_pins[]  = { 26, 27 };
   463	static const int smb5b_pins[] = { 13, 12 };
   464	static const int smb5c_pins[] = { 15, 14 };
   465	static const int smb5d_pins[] = { 94, 93 };
   466	static const int smb6_pins[]  = { 172, 171 };
   467	static const int smb6b_pins[] = { 2, 3 };
   468	static const int smb6c_pins[]  = { 0, 1 };
   469	static const int smb6d_pins[]  = { 10, 11 };
   470	static const int smb7_pins[]  = { 174, 173 };
   471	static const int smb7b_pins[]  = { 16, 141 };
   472	static const int smb7c_pins[]  = { 24, 25 };
   473	static const int smb7d_pins[]  = { 142, 143 };
   474	static const int smb8_pins[]  = { 129, 128 };
   475	static const int smb9_pins[]  = { 131, 130 };
   476	static const int smb10_pins[] = { 133, 132 };
   477	static const int smb11_pins[] = { 135, 134 };
   478	static const int smb12_pins[] = { 221, 220 };
   479	static const int smb13_pins[] = { 223, 222 };
   480	static const int smb14_pins[] = { 22, 23 };
 > 481	static const int smb14b_pins[] = { 32, 187 };
   482	static const int smb15_pins[] = { 20, 21 };
   483	static const int smb15b_pins[] = { 192, 191 };
   484	static const int smb16_pins[] = { 10, 11 };
   485	static const int smb16b_pins[] = { 218, 219 };
   486	static const int smb17_pins[] = { 3, 2 };
   487	static const int smb18_pins[] = { 0, 1 };
   488	static const int smb19_pins[] = { 60, 59 };
   489	static const int smb20_pins[] = { 234, 235 };
   490	static const int smb21_pins[] = { 169, 170 };
   491	static const int smb22_pins[] = { 40, 39 };
   492	static const int smb23_pins[] = { 38, 37 };
   493	static const int smb23b_pins[] = { 134, 134 };
   494	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

  parent reply	other threads:[~2022-07-18  1:24 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-14 12:23 [PATCH v2 0/2] pinctrl: nuvoton: add pinmux and GPIO driver for NPCM8XX Tomer Maimon
2022-07-14 12:23 ` Tomer Maimon
2022-07-14 12:23 ` [PATCH v2 1/2] dt-binding: pinctrl: Add NPCM8XX pinctrl and GPIO documentation Tomer Maimon
2022-07-14 12:23   ` Tomer Maimon
2022-07-18 21:10   ` Rob Herring
2022-07-18 21:10     ` Rob Herring
2022-09-18 18:28     ` Tomer Maimon
2022-09-18 18:28       ` Tomer Maimon
2022-09-19  6:56       ` Krzysztof Kozlowski
2022-09-19 14:31         ` Tomer Maimon
2022-09-19 14:31           ` Tomer Maimon
2022-09-19 16:06           ` Krzysztof Kozlowski
2022-09-20  7:59             ` Tomer Maimon
2022-09-20  7:59               ` Tomer Maimon
2022-09-20  8:21               ` Krzysztof Kozlowski
2022-09-20  8:32                 ` Tomer Maimon
2022-09-20  8:32                   ` Tomer Maimon
2022-09-20  8:47                   ` Krzysztof Kozlowski
2022-09-20  9:27                     ` Tomer Maimon
2022-09-20  9:27                       ` Tomer Maimon
2022-09-20 15:16                       ` Krzysztof Kozlowski
2022-09-20 17:00                         ` Tomer Maimon
2022-09-20 17:00                           ` Tomer Maimon
2022-07-14 12:23 ` [PATCH v2 2/2] pinctrl: nuvoton: add NPCM8XX pinctrl and GPIO driver Tomer Maimon
2022-07-14 12:23   ` Tomer Maimon
2022-07-14 12:25   ` Krzysztof Kozlowski
2022-07-14 13:14     ` Andy Shevchenko
2022-07-14 13:14       ` Andy Shevchenko
2022-07-14 16:59   ` Andy Shevchenko
2022-07-14 16:59     ` Andy Shevchenko
2022-07-18  1:24   ` kernel test robot [this message]
2022-07-18  1:24     ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2022-07-16 16:21 kernel test robot
2022-07-18 13:41 kernel test robot

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=202207180959.yy7mZtRy-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=avifishman70@gmail.com \
    --cc=benjaminfair@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=j.neuschaefer@gmx.net \
    --cc=joel@jms.id.au \
    --cc=kbuild-all@lists.01.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=openbmc@lists.ozlabs.org \
    --cc=robh+dt@kernel.org \
    --cc=tali.perry1@gmail.com \
    --cc=tmaimon77@gmail.com \
    --cc=venture@google.com \
    --cc=yuenn@google.com \
    --cc=zhengbin13@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.