[linux-next:master 1208/2336] drivers/pinctrl/ti/pinctrl-ti-iodelay.c:708 ti_iodelay_pinconf_group_dbg_show() warn: inconsistent indenting

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   1c925d2030afd354a02c23500386e620e662622b
commit: 502045d91a313533d5daa20c3108507c27e79a37 [1208/2336] pinctrl: ti-iodelay: convert comma to semicolon
config: mips-randconfig-m031-20210108 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.0

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

smatch warnings:
drivers/pinctrl/ti/pinctrl-ti-iodelay.c:708 ti_iodelay_pinconf_group_dbg_show() warn: inconsistent indenting

vim +708 drivers/pinctrl/ti/pinctrl-ti-iodelay.c

003910ebc83bcac Nishanth Menon 2017-01-05  680  
003910ebc83bcac Nishanth Menon 2017-01-05  681  /**
003910ebc83bcac Nishanth Menon 2017-01-05  682   * ti_iodelay_pinconf_group_dbg_show() - show the group information
003910ebc83bcac Nishanth Menon 2017-01-05  683   * @pctldev: Show the group information
003910ebc83bcac Nishanth Menon 2017-01-05  684   * @s: Sequence file
003910ebc83bcac Nishanth Menon 2017-01-05  685   * @selector: Group selector
003910ebc83bcac Nishanth Menon 2017-01-05  686   *
003910ebc83bcac Nishanth Menon 2017-01-05  687   * Provide the configuration information of the selected group
003910ebc83bcac Nishanth Menon 2017-01-05  688   */
003910ebc83bcac Nishanth Menon 2017-01-05  689  static void ti_iodelay_pinconf_group_dbg_show(struct pinctrl_dev *pctldev,
003910ebc83bcac Nishanth Menon 2017-01-05  690  					      struct seq_file *s,
003910ebc83bcac Nishanth Menon 2017-01-05  691  					      unsigned int selector)
003910ebc83bcac Nishanth Menon 2017-01-05  692  {
003910ebc83bcac Nishanth Menon 2017-01-05  693  	struct ti_iodelay_device *iod;
003910ebc83bcac Nishanth Menon 2017-01-05  694  	struct ti_iodelay_pingroup *group;
003910ebc83bcac Nishanth Menon 2017-01-05  695  	int i;
003910ebc83bcac Nishanth Menon 2017-01-05  696  
003910ebc83bcac Nishanth Menon 2017-01-05  697  	iod = pinctrl_dev_get_drvdata(pctldev);
003910ebc83bcac Nishanth Menon 2017-01-05  698  	group = ti_iodelay_get_pingroup(iod, selector);
003910ebc83bcac Nishanth Menon 2017-01-05  699  	if (!group)
003910ebc83bcac Nishanth Menon 2017-01-05  700  		return;
003910ebc83bcac Nishanth Menon 2017-01-05  701  
003910ebc83bcac Nishanth Menon 2017-01-05  702  	for (i = 0; i < group->ncfg; i++) {
003910ebc83bcac Nishanth Menon 2017-01-05  703  		struct ti_iodelay_cfg *cfg;
003910ebc83bcac Nishanth Menon 2017-01-05  704  		u32 reg = 0;
003910ebc83bcac Nishanth Menon 2017-01-05  705  
003910ebc83bcac Nishanth Menon 2017-01-05  706  		cfg = &group->cfg[i];
502045d91a31353 Zheng Yongjun  2020-12-11  707  		regmap_read(iod->regmap, cfg->offset, &reg);
003910ebc83bcac Nishanth Menon 2017-01-05 @708  			seq_printf(s, "\n\t0x%08x = 0x%08x (%3d, %3d)",
003910ebc83bcac Nishanth Menon 2017-01-05  709  				   cfg->offset, reg, cfg->a_delay,
003910ebc83bcac Nishanth Menon 2017-01-05  710  				   cfg->g_delay);
003910ebc83bcac Nishanth Menon 2017-01-05  711  	}
003910ebc83bcac Nishanth Menon 2017-01-05  712  }
003910ebc83bcac Nishanth Menon 2017-01-05  713  #endif
003910ebc83bcac Nishanth Menon 2017-01-05  714  

:::::: The code at line 708 was first introduced by commit
:::::: 003910ebc83bcac2ea543dbc6dfff2bc4fa67789 pinctrl: Introduce TI IOdelay configuration driver

:::::: TO: Nishanth Menon <nm@xxxxxx>
:::::: CC: Linus Walleij <linus.walleij@xxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux