Re: [PATCH] of: use pr_fmt prefix for all console printing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

[auto build test ERROR on v4.7-rc1]
[also build test ERROR on next-20160602]
[cannot apply to glikely/devicetree/next]
[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/Rob-Herring/of-use-pr_fmt-prefix-for-all-console-printing/20160602-231816
config: arm64-allmodconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All error/warnings (new ones prefixed by >>):

   drivers/of/of_numa.c: In function 'of_numa_parse_memory_nodes':
>> drivers/of/of_numa.c:84:8: error: 'i' undeclared (first use in this function)
      for (i = 0; !r; i++, r = of_address_to_resource(np, i, &rsrc)) {
           ^
   drivers/of/of_numa.c:84:8: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/of/of_numa.c:84:22: warning: left-hand operand of comma expression has no effect [-Wunused-value]
      for (i = 0; !r; i++, r = of_address_to_resource(np, i, &rsrc)) {
                         ^

vim +/i +84 drivers/of/of_numa.c

    78				continue;
    79			else if (r)
    80				/* some other error */
    81				break;
    82	
    83			r = of_address_to_resource(np, 0, &rsrc);
  > 84			for (i = 0; !r; i++, r = of_address_to_resource(np, i, &rsrc)) {
    85				r = numa_add_memblk(nid, rsrc.start,
    86					    rsrc.end - rsrc.start + 1);
    87			}

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux