lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 22 Jun 2017 14:05:38 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Cyrille Pitchen <cyrille.pitchen@...rochip.com>
Cc:     kbuild-all@...org, marek.vasut@...il.com,
        computersforpeace@...il.com, boris.brezillon@...e-electrons.com,
        richard@....at, linux-mtd@...ts.infradead.org,
        linux-kernel@...r.kernel.org,
        Cyrille Pitchen <cyrille.pitchen@...rochip.com>
Subject: Re: [PATCH v2 1/1] mtd: spi-nor: parse Serial Flash Discoverable
 Parameters (SFDP) tables

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@...nro.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@...il.com>
:::::: CC: Brian Norris <computersforpeace@...il.com>

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

Download attachment ".config.gz" of type "application/gzip" (62434 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ