Re: [PATCH 2/2] pinctrl: renesas: r8a77990: add drive-strength

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Wolfram,

I love your patch! Perhaps something to improve:

[auto build test WARNING on geert-renesas-drivers/renesas-pinctrl]
[also build test WARNING on linusw-pinctrl/devel v5.17-rc8 next-20220318]
[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/Wolfram-Sang/pinctrl-renesas-r8a77990-add-drive-strength/20220320-055908
base:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git renesas-pinctrl
config: hexagon-randconfig-r041-20220320 (https://download.01.org/0day-ci/archive/20220320/202203200832.RD8XJhU1-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 217f267efe3082438e698e2f08566b9df8c530fa)
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/844a743267be6ab69209101129c05dcb9dfd7c19
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Wolfram-Sang/pinctrl-renesas-r8a77990-add-drive-strength/20220320-055908
        git checkout 844a743267be6ab69209101129c05dcb9dfd7c19
        # 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=hexagon SHELL=/bin/bash drivers/pinctrl/renesas/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/pinctrl/renesas/pfc-r8a77990.c:5033:38: warning: unused variable 'pinmux_drive_regs' [-Wunused-const-variable]
   static const struct pinmux_drive_reg pinmux_drive_regs[] = {
                                        ^
   1 warning generated.


vim +/pinmux_drive_regs +5033 drivers/pinctrl/renesas/pfc-r8a77990.c

  5032	
> 5033	static const struct pinmux_drive_reg pinmux_drive_regs[] = {
  5034		{ PINMUX_DRIVE_REG("DRVCTRL8", 0xe6060320) {
  5035			{ RCAR_GP_PIN(3,  0), 18, 2 },	/* SD0_CLK */
  5036			{ RCAR_GP_PIN(3,  1), 15, 2 },	/* SD0_CMD */
  5037			{ RCAR_GP_PIN(3,  2), 12, 2 },	/* SD0_DAT0 */
  5038			{ RCAR_GP_PIN(3,  3),  9, 2 },	/* SD0_DAT1 */
  5039			{ RCAR_GP_PIN(3,  4),  6, 2 },	/* SD0_DAT2 */
  5040			{ RCAR_GP_PIN(3,  5),  3, 2 },	/* SD0_DAT3 */
  5041			{ RCAR_GP_PIN(3,  6),  0, 2 },	/* SD1_CLK */
  5042		} },
  5043		{ PINMUX_DRIVE_REG("DRVCTRL9", 0xe6060324) {
  5044			{ RCAR_GP_PIN(3,  7), 29, 2 },	/* SD1_CMD */
  5045			{ RCAR_GP_PIN(3,  8), 26, 2 },	/* SD1_DAT0 */
  5046			{ RCAR_GP_PIN(3,  9), 23, 2 },	/* SD1_DAT1 */
  5047			{ RCAR_GP_PIN(3, 10), 20, 2 },	/* SD1_DAT2 */
  5048			{ RCAR_GP_PIN(3, 11), 17, 2 },	/* SD1_DAT3 */
  5049			{ RCAR_GP_PIN(4,  0), 14, 2 },	/* SD3_CLK */
  5050			{ RCAR_GP_PIN(4,  1), 11, 2 },	/* SD3_CMD */
  5051			{ RCAR_GP_PIN(4,  2),  8, 2 },	/* SD3_DAT0 */
  5052			{ RCAR_GP_PIN(4,  3),  5, 2 },	/* SD3_DAT1 */
  5053			{ RCAR_GP_PIN(4,  4),  2, 2 },	/* SD3_DAT2 */
  5054		} },
  5055		{ PINMUX_DRIVE_REG("DRVCTRL10", 0xe6060328) {
  5056			{ RCAR_GP_PIN(4,  5), 29, 2 },	/* SD3_DAT3 */
  5057			{ RCAR_GP_PIN(4,  6), 26, 2 },	/* SD3_DAT4 */
  5058			{ RCAR_GP_PIN(4,  7), 23, 2 },	/* SD3_DAT5 */
  5059			{ RCAR_GP_PIN(4,  8), 20, 2 },	/* SD3_DAT6 */
  5060			{ RCAR_GP_PIN(4,  9), 17, 2 },	/* SD3_DAT7 */
  5061			{ RCAR_GP_PIN(4, 10), 14, 2 },	/* SD3_DS */
  5062		} },
  5063		{ },
  5064	};
  5065	

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



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux