mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Cyrille Pitchen <cyrille.pitchen@microchip.com>
Cc: kbuild-all@01.org, marek.vasut@gmail.com,
	computersforpeace@gmail.com, boris.brezillon@free-electrons.com,
	richard@nod.at, linux-mtd@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Cyrille Pitchen <cyrille.pitchen@microchip.com>
Subject: Re: [PATCH v2 1/1] mtd: spi-nor: parse Serial Flash Discoverable Parameters (SFDP) tables
Date: Thu, 22 Jun 2017 14:05:38 +0800	[thread overview]
Message-ID: <201706221453.38kbsrV1%fengguang.wu@intel.com> (raw)
In-Reply-To: <3ac095eb39cea2a045a85178ff4bbac2b70a35d4.1498059894.git.cyrille.pitchen@microchip.com>

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

Hi Cyrille,

[auto build test WARNING on spi-nor/next]
[cannot apply to v4.12-rc6]
[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/Cyrille-Pitchen/mtd-spi-nor-parse-Serial-Flash-Discoverable-Parameters-SFDP-tables/20170622-081417
base:   git://github.com/spi-nor/linux next
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/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=arm 

All warnings (new ones prefixed by >>):

   In file included from drivers/mtd/devices/st_spi_fsm.c:29:0:
>> drivers/mtd/devices/serial_flash_cmds.h:16:0: warning: "SPINOR_OP_RDSR2" redefined
    #define SPINOR_OP_RDSR2  0x35
    
   In file included from drivers/mtd/devices/st_spi_fsm.c:22:0:
   include/linux/mtd/spi-nor.h:44:0: note: this is the location of the previous definition
    #define SPINOR_OP_RDSR2  0x3f /* Read status register 2 */
    

vim +/SPINOR_OP_RDSR2 +16 drivers/mtd/devices/serial_flash_cmds.h

5549fbd5 Lee Jones    2014-03-20   1  /*
5549fbd5 Lee Jones    2014-03-20   2   * Generic/SFDP Flash Commands and Device Capabilities
5549fbd5 Lee Jones    2014-03-20   3   *
5549fbd5 Lee Jones    2014-03-20   4   * Copyright (C) 2013 Lee Jones <lee.jones@lianro.org>
5549fbd5 Lee Jones    2014-03-20   5   *
5549fbd5 Lee Jones    2014-03-20   6   * This code is free software; you can redistribute it and/or modify
5549fbd5 Lee Jones    2014-03-20   7   * it under the terms of the GNU General Public License version 2 as
5549fbd5 Lee Jones    2014-03-20   8   * published by the Free Software Foundation.
5549fbd5 Lee Jones    2014-03-20   9   *
5549fbd5 Lee Jones    2014-03-20  10   */
5549fbd5 Lee Jones    2014-03-20  11  
5549fbd5 Lee Jones    2014-03-20  12  #ifndef _MTD_SERIAL_FLASH_CMDS_H
5549fbd5 Lee Jones    2014-03-20  13  #define _MTD_SERIAL_FLASH_CMDS_H
5549fbd5 Lee Jones    2014-03-20  14  
5549fbd5 Lee Jones    2014-03-20  15  /* Generic Flash Commands/OPCODEs */
92d3af9a Brian Norris 2014-04-08 @16  #define SPINOR_OP_RDSR2		0x35
92d3af9a Brian Norris 2014-04-08  17  #define SPINOR_OP_WRVCR		0x81
92d3af9a Brian Norris 2014-04-08  18  #define SPINOR_OP_RDVCR		0x85
5549fbd5 Lee Jones    2014-03-20  19  
5549fbd5 Lee Jones    2014-03-20  20  /* JEDEC Standard - Serial Flash Discoverable Parmeters (SFDP) Commands */
92d3af9a Brian Norris 2014-04-08  21  #define SPINOR_OP_WRITE		0x02	/* PAGE PROGRAM */
92d3af9a Brian Norris 2014-04-08  22  #define SPINOR_OP_WRITE_1_1_2	0xa2	/* DUAL INPUT PROGRAM */
92d3af9a Brian Norris 2014-04-08  23  #define SPINOR_OP_WRITE_1_2_2	0xd2	/* DUAL INPUT EXT PROGRAM */
92d3af9a Brian Norris 2014-04-08  24  #define SPINOR_OP_WRITE_1_1_4	0x32	/* QUAD INPUT PROGRAM */

:::::: The code at line 16 was first introduced by commit
:::::: 92d3af9ac369faf3bd2c409cf5218510500af214 mtd: st_spi_fsm: replace FLACH_CMD_* with SPINOR_OP_*

:::::: TO: Brian Norris <computersforpeace@gmail.com>
:::::: CC: Brian Norris <computersforpeace@gmail.com>

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

      reply	other threads:[~2017-06-22  6:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-21 16:16 Cyrille Pitchen
2017-06-22  6:05 ` kbuild test robot [this message]

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=201706221453.38kbsrV1%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=boris.brezillon@free-electrons.com \
    --cc=computersforpeace@gmail.com \
    --cc=cyrille.pitchen@microchip.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marek.vasut@gmail.com \
    --cc=richard@nod.at \
    /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®