linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Zheng Yongjun <zhengyongjun3@huawei.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [linux-next:master 1208/2336] drivers/pinctrl/ti/pinctrl-ti-iodelay.c:708 ti_iodelay_pinconf_group_dbg_show() warn: inconsistent indenting
Date: Sat, 9 Jan 2021 15:13:05 +0800	[thread overview]
Message-ID: <202101091501.9xtrxf2E-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-01-09  7:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202101091501.9xtrxf2E-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-mm@kvack.org \
    --cc=zhengyongjun3@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).