All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [jirislaby:devel 36/60] drivers/mtd/nand/raw/nand_base.c:3232:9: sparse: sparse: too long token expansion
Date: Tue, 09 Jun 2020 00:04:45 +0800	[thread overview]
Message-ID: <202006090038.ZGSFwDx5%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   b1d08004826c99d8af2be6744a7c623a18965562
commit: b32e61377f052498dd5b44b6029776457bf4cc24 [36/60] include condition in the BUG_ON/WARN_ON output
config: h8300-randconfig-s032-20200607 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-247-gcadbd124-dirty
        git checkout b32e61377f052498dd5b44b6029776457bf4cc24
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=h8300 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

>> drivers/mtd/nand/raw/nand_base.c:3232:9: sparse: sparse: too long token expansion

vim +3232 drivers/mtd/nand/raw/nand_base.c

ba84fb5952af11 drivers/mtd/nand/nand_base.c     Brian Norris    2014-01-03  3223  
85e08e5864458b drivers/mtd/nand/raw/nand_base.c Boris Brezillon 2018-07-27  3224  static void nand_wait_readrdy(struct nand_chip *chip)
85e08e5864458b drivers/mtd/nand/raw/nand_base.c Boris Brezillon 2018-07-27  3225  {
52f05b6b87decf drivers/mtd/nand/raw/nand_base.c Boris Brezillon 2018-07-27  3226  	const struct nand_sdr_timings *sdr;
52f05b6b87decf drivers/mtd/nand/raw/nand_base.c Boris Brezillon 2018-07-27  3227  
85e08e5864458b drivers/mtd/nand/raw/nand_base.c Boris Brezillon 2018-07-27  3228  	if (!(chip->options & NAND_NEED_READRDY))
85e08e5864458b drivers/mtd/nand/raw/nand_base.c Boris Brezillon 2018-07-27  3229  		return;
85e08e5864458b drivers/mtd/nand/raw/nand_base.c Boris Brezillon 2018-07-27  3230  
52f05b6b87decf drivers/mtd/nand/raw/nand_base.c Boris Brezillon 2018-07-27  3231  	sdr = nand_get_sdr_timings(&chip->data_interface);
52f05b6b87decf drivers/mtd/nand/raw/nand_base.c Boris Brezillon 2018-07-27 @3232  	WARN_ON(nand_wait_rdy_op(chip, PSEC_TO_MSEC(sdr->tR_max), 0));
85e08e5864458b drivers/mtd/nand/raw/nand_base.c Boris Brezillon 2018-07-27  3233  }
85e08e5864458b drivers/mtd/nand/raw/nand_base.c Boris Brezillon 2018-07-27  3234  

:::::: The code at line 3232 was first introduced by commit
:::::: 52f05b6b87decfc74245ac16b4ae18e321b5ae98 mtd: rawnand: Add the nand_wait_rdy_op() helper and use it

:::::: TO: Boris Brezillon <boris.brezillon@bootlin.com>
:::::: CC: Miquel Raynal <miquel.raynal@bootlin.com>

---
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: 26997 bytes --]

                 reply	other threads:[~2020-06-08 16:04 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=202006090038.ZGSFwDx5%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.