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] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 8 Jun 2016 22:34:35 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Boris Brezillon <boris.brezillon@...e-electrons.com>
Cc:	kbuild-all@...org, David Woodhouse <dwmw2@...radead.org>,
	Brian Norris <computersforpeace@...il.com>,
	linux-mtd@...ts.infradead.org,
	Boris Brezillon <boris.brezillon@...e-electrons.com>,
	Richard Weinberger <richard@....at>,
	Hans de Goede <hdegoede@...hat.com>,
	linux-kernel@...r.kernel.org, Aleksei Mamlin <mamlinav@...il.com>
Subject: Re: [PATCH v2 14/15] mtd: nand: hynix: rework NAND ID decoding to
 extract more information

Hi,

[auto build test ERROR on mtd/master]
[also build test ERROR on v4.7-rc2 next-20160608]
[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/Boris-Brezillon/mtd-nand-allow-vendor-specific-detection-initialization/20160608-210755
base:   git://git.infradead.org/linux-mtd.git master
config: x86_64-randconfig-s3-06081945 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/mtd/nand/nand_hynix.c: In function 'hynix_nand_decode_id':
>> drivers/mtd/nand/nand_hynix.c:239:20: error: 'SZ_1M' undeclared (first use in this function)
      mtd->erasesize = SZ_1M << tmp;
                       ^~~~~
   drivers/mtd/nand/nand_hynix.c:239:20: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/mtd/nand/nand_hynix.c:241:20: error: 'SZ_512K' undeclared (first use in this function)
      mtd->erasesize = SZ_512K + SZ_256K;
                       ^~~~~~~
>> drivers/mtd/nand/nand_hynix.c:241:30: error: 'SZ_256K' undeclared (first use in this function)
      mtd->erasesize = SZ_512K + SZ_256K;
                                 ^~~~~~~
>> drivers/mtd/nand/nand_hynix.c:243:20: error: 'SZ_128K' undeclared (first use in this function)
      mtd->erasesize = SZ_128K << tmp;
                       ^~~~~~~

vim +/SZ_1M +239 drivers/mtd/nand/nand_hynix.c

   233		 * we start counting at 128KiB and shift this value the content of
   234		 * ID[3][4:5].
   235		 * The only exception is when ID[3][4:5] == 3 and ID[3][7] == 0, in
   236		 * this case the erasesize is set to 768KiB.
   237		 */
   238		if (chip->id.data[3] & 0x80)
 > 239			mtd->erasesize = SZ_1M << tmp;
   240		else if (tmp == 3)
 > 241			mtd->erasesize = SZ_512K + SZ_256K;
   242		else
 > 243			mtd->erasesize = SZ_128K << tmp;
   244	
   245		/*
   246		 * Modern Toggle DDR NANDs have a valid JEDECID even though they are

---
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/octet-stream" (26572 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ