mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: kbuild-all@01.org, linux-mtd@lists.infradead.org,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>,
	Josh Wu <rainyfeeling@outlook.com>,
	Wan ZongShun <mcuos.com@gmail.com>,
	linux-kernel@vger.kernel.org,
	Boris Brezillon <boris.brezillon@free-electrons.com>,
	Marek Vasut <marek.vasut@gmail.com>,
	Brian Norris <computersforpeace@gmail.com>,
	Richard Weinberger <richard@nod.at>,
	David Woodhouse <dwmw2@infradead.org>,
	Wenyou Yang <wenyou.yang@atmel.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/2] mtd: nand: introduce NAND_ROW_ADDR_3 flag
Date: Wed, 13 Sep 2017 09:20:23 +0800	[thread overview]
Message-ID: <201709130930.GFsddrbW%fengguang.wu@intel.com> (raw)
In-Reply-To: <1505183851-29355-2-git-send-email-yamada.masahiro@socionext.com>

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

Hi Masahiro,

[auto build test ERROR on l2-mtd-boris/nand/next]
[also build test ERROR on v4.13 next-20170912]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Masahiro-Yamada/mtd-nand-introduce-NAND_ROW_ADDR_3-flag-and-improve-Denali-driver/20170913-084354
base:   git://git.infradead.org/l2-mtd.git nand/next
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   drivers/mtd/nand/hisi504_nand.c: In function 'set_addr':
>> drivers/mtd/nand/hisi504_nand.c:435:13: error: expected identifier before '->' token
      if (chip->->options & NAND_ROW_ADDR_3) {
                ^

vim +435 drivers/mtd/nand/hisi504_nand.c

   410	
   411	static void set_addr(struct mtd_info *mtd, int column, int page_addr)
   412	{
   413		struct nand_chip *chip = mtd_to_nand(mtd);
   414		struct hinfc_host *host = nand_get_controller_data(chip);
   415		unsigned int command = host->command;
   416	
   417		host->addr_cycle    = 0;
   418		host->addr_value[0] = 0;
   419		host->addr_value[1] = 0;
   420	
   421		/* Serially input address */
   422		if (column != -1) {
   423			/* Adjust columns for 16 bit buswidth */
   424			if (chip->options & NAND_BUSWIDTH_16 &&
   425					!nand_opcode_8bits(command))
   426				column >>= 1;
   427	
   428			host->addr_value[0] = column & 0xffff;
   429			host->addr_cycle    = 2;
   430		}
   431		if (page_addr != -1) {
   432			host->addr_value[0] |= (page_addr & 0xffff)
   433				<< (host->addr_cycle * 8);
   434			host->addr_cycle    += 2;
 > 435			if (chip->->options & NAND_ROW_ADDR_3) {
   436				host->addr_cycle += 1;
   437				if (host->command == NAND_CMD_ERASE1)
   438					host->addr_value[0] |= ((page_addr >> 16) & 0xff) << 16;
   439				else
   440					host->addr_value[1] |= ((page_addr >> 16) & 0xff);
   441			}
   442		}
   443	}
   444	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

  reply	other threads:[~2017-09-13  1:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-12  2:37 [PATCH 0/2] mtd: nand: introduce NAND_ROW_ADDR_3 flag and improve Denali driver Masahiro Yamada
2017-09-12  2:37 ` [PATCH 1/2] mtd: nand: introduce NAND_ROW_ADDR_3 flag Masahiro Yamada
2017-09-13  1:20   ` kbuild test robot [this message]
2017-09-12  2:37 ` [PATCH 2/2] mtd: nand: denali: support two row address cycle devices Masahiro Yamada

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=201709130930.GFsddrbW%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=boris.brezillon@free-electrons.com \
    --cc=computersforpeace@gmail.com \
    --cc=cyrille.pitchen@wedev4u.fr \
    --cc=dwmw2@infradead.org \
    --cc=kbuild-all@01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marek.vasut@gmail.com \
    --cc=mcuos.com@gmail.com \
    --cc=rainyfeeling@outlook.com \
    --cc=richard@nod.at \
    --cc=wenyou.yang@atmel.com \
    --cc=yamada.masahiro@socionext.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

all inboxes | Powered by JetHome®