Received: by 10.213.65.68 with SMTP id h4csp1407147imn; Sun, 8 Apr 2018 02:47:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx48hlARooK75E+14edPi+2k0UbWCpcHzWHd+zsXVzAsoN1zBg0TevPKWvsZfdaSedtuGMT3l X-Received: by 2002:a17:902:a2:: with SMTP id a31-v6mr34144347pla.204.1523180832111; Sun, 08 Apr 2018 02:47:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523180832; cv=none; d=google.com; s=arc-20160816; b=v3C0qVUpki7kIZI0nJvPeqrZ7zvHPLa1+fru5C86VwXx7mXJZ+B1yzXXGhBUWcyv1u 568guFVu4zPYW0gDRdljS/KnBFahvc7tUpsVGizvqWIjawj3vf1AyQixUTA9gpjNvXD9 ZkO4UaHkT0TlFDRwDteE1NZQoDkJZb5IFdIjLyLjU0JXbEPVj2KlnYHkfV2kFvZACFKT qUeWLIUY1vO6KHmc2lxYE6A3iisSAqZNbmTUlaznnyOR9iR+mN5iAPR/B9Jlrl6+DAqa 5C41P6UUfJVpk2iT+BNKYvIgJFfxRe2AEHzz7FM9hq/DPu8Givnt5TNh7SnLDrf6dvtq ia+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=o8iIY80BsvsptwMTCpwgKMPLvJ8fuw/+mf5lEqa9ruo=; b=ABP695bWJLEWz30hW2l7Kyc6/zb1RB+YHw/z/EcR/OgUGt9s+5IpTnyD5tdOq56uJO 98sFpV1dFnB0jrtTczTFiIauGwLHSIOUwYMNKAuYf1pspDYQuoBJoh0P/3/vJAsXgjAU Pf2lL5UuhN4OQZDqZfxHfNxSaBl+03aHTKF8tiaYoPcTsjwNf4r2KhjfsZLdc9LZhg8X QqM7l3wOKbP5XgchSLhGRtMf/WGntRykLrltotG3BCNbasVH1sbVepiEBwAyQ3n582Js U1Jzhqc+Hf/9hYQ0GR0q6jmsji7yQYGH7mdpVN3MVhTRwhCWeypxCYsXhMhEFe+IhG0g 7n+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1-v6si11767460plz.197.2018.04.08.02.46.35; Sun, 08 Apr 2018 02:47:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752808AbeDHJJL (ORCPT + 99 others); Sun, 8 Apr 2018 05:09:11 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:42498 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752111AbeDHJJJ (ORCPT ); Sun, 8 Apr 2018 05:09:09 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 51678406FA23; Sun, 8 Apr 2018 09:09:08 +0000 (UTC) Received: from localhost (ovpn-8-18.pek2.redhat.com [10.72.8.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D180B1102E1F; Sun, 8 Apr 2018 09:09:06 +0000 (UTC) Date: Sun, 8 Apr 2018 17:09:03 +0800 From: Baoquan He To: kbuild test robot Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, Patrik Jakobsson , David Airlie , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Dmitry Torokhov , Dan Williams , Rob Herring , Frank Rowand , Keith Busch , Jonathan Derrick , Lorenzo Pieralisi , Bjorn Helgaas , Thomas Gleixner , Brijesh Singh , =?iso-8859-1?B?Suly9G1l?= Glisse , Borislav Petkov , Tom Lendacky , Greg Kroah-Hartman , Yaowei Bai , Wei Yang , devel@linuxdriverproject.org, linux-input@vger.kernel.org, linux-nvdimm@lists.01.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v2 1/3] resource: Use list_head to link sibling resource Message-ID: <20180408090903.GE19345@localhost.localdomain> References: <20180408024724.16812-2-bhe@redhat.com> <201804081247.F3eqBMih%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201804081247.F3eqBMih%fengguang.wu@intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Sun, 08 Apr 2018 09:09:08 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Sun, 08 Apr 2018 09:09:08 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'bhe@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thanks for telling! On 04/08/18 at 12:12pm, kbuild test robot wrote: > Hi Baoquan, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.16 next-20180406] > [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/Baoquan-He/resource-Use-list_head-to-link-sibling-resource/20180408-110108 > config: parisc-c3000_defconfig (attached as .config) > compiler: hppa-linux-gnu-gcc (Debian 7.2.0-11) 7.2.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=parisc > > All errors (new ones prefixed by >>): > > drivers//parisc/lba_pci.c: In function 'lba_dump_res': > >> drivers//parisc/lba_pci.c:173:15: error: incompatible type for argument 1 of 'lba_dump_res' > lba_dump_res(r->child, d+2); I compiled with allyesconfig, don't know why this was missed. Will change and repost. > ^ > drivers//parisc/lba_pci.c:162:1: note: expected 'struct resource *' but argument is of type 'struct list_head' > lba_dump_res(struct resource *r, int d) > ^~~~~~~~~~~~ > drivers//parisc/lba_pci.c:174:15: error: incompatible type for argument 1 of 'lba_dump_res' > lba_dump_res(r->sibling, d); > ^ > drivers//parisc/lba_pci.c:162:1: note: expected 'struct resource *' but argument is of type 'struct list_head' > lba_dump_res(struct resource *r, int d) > ^~~~~~~~~~~~ > > vim +/lba_dump_res +173 drivers//parisc/lba_pci.c > > ^1da177e Linus Torvalds 2005-04-16 159 > ^1da177e Linus Torvalds 2005-04-16 160 > ^1da177e Linus Torvalds 2005-04-16 161 static void > ^1da177e Linus Torvalds 2005-04-16 162 lba_dump_res(struct resource *r, int d) > ^1da177e Linus Torvalds 2005-04-16 163 { > ^1da177e Linus Torvalds 2005-04-16 164 int i; > ^1da177e Linus Torvalds 2005-04-16 165 > ^1da177e Linus Torvalds 2005-04-16 166 if (NULL == r) > ^1da177e Linus Torvalds 2005-04-16 167 return; > ^1da177e Linus Torvalds 2005-04-16 168 > ^1da177e Linus Torvalds 2005-04-16 169 printk(KERN_DEBUG "(%p)", r->parent); > ^1da177e Linus Torvalds 2005-04-16 170 for (i = d; i ; --i) printk(" "); > 645d11d4 Matthew Wilcox 2006-12-24 171 printk(KERN_DEBUG "%p [%lx,%lx]/%lx\n", r, > 645d11d4 Matthew Wilcox 2006-12-24 172 (long)r->start, (long)r->end, r->flags); > ^1da177e Linus Torvalds 2005-04-16 @173 lba_dump_res(r->child, d+2); > ^1da177e Linus Torvalds 2005-04-16 174 lba_dump_res(r->sibling, d); > ^1da177e Linus Torvalds 2005-04-16 175 } > ^1da177e Linus Torvalds 2005-04-16 176 > > :::::: The code at line 173 was first introduced by commit > :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 > > :::::: TO: Linus Torvalds > :::::: CC: Linus Torvalds > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation