All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 1208/2336] drivers/pinctrl/ti/pinctrl-ti-iodelay.c:708 ti_iodelay_pinconf_group_dbg_show() warn: inconsistent indenting
@ 2021-01-09  7:13 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-09  7:13 UTC (permalink / raw)
  To: Zheng Yongjun; +Cc: kbuild-all, Linux Memory Management List, Linus Walleij

[-- Attachment #1: Type: text/plain, Size: 3517 bytes --]

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@intel.com>

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@ti.com>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23443 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [linux-next:master 1208/2336] drivers/pinctrl/ti/pinctrl-ti-iodelay.c:708 ti_iodelay_pinconf_group_dbg_show() warn: inconsistent indenting
@ 2021-01-09  7:13 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-09  7:13 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3578 bytes --]

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@intel.com>

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@ti.com>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 23443 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-09  7:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09  7:13 [linux-next:master 1208/2336] drivers/pinctrl/ti/pinctrl-ti-iodelay.c:708 ti_iodelay_pinconf_group_dbg_show() warn: inconsistent indenting kernel test robot
2021-01-09  7:13 ` kernel test robot

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.