Received: by 10.213.65.68 with SMTP id h4csp1407182imn; Sun, 8 Apr 2018 02:47:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx49gRe93t9AoVGKjCM4F90rg4I27Ms1XNL068pholZjN+eHqwlq2CMiePnSdZIe14dwgyEcM X-Received: by 10.101.97.4 with SMTP id z4mr13676619pgu.354.1523180834710; Sun, 08 Apr 2018 02:47:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523180834; cv=none; d=google.com; s=arc-20160816; b=uJ0bRhsrpM1vWqLq+HMNxudggRZSQhoK4jltnr8fcu6KcCxs2EOLQGVTQBT60mWzdx suUqDsLmZKZNrC6bEg1NNMffZj6NqpQHKpWoF8pGVj8EqbDBSyJfWl0Y1uo6ZA/k1PeC K7FDvAqhpta2l3Vnhta0tQqI9Z7xWUsMR+U0F/Ux7dOaoD4AD44IlE+35NGdBns4Ljog xIcZ4nPaAtvgOtyAPctWJNTtCLLOHnQ8vpj368hOXE2mJRhCmXeNYCszCxqBntYfCUR6 c3V2nO32GvRNja6EwJNvV7soYv0WMd2GFykmExdz8FzqY60ve+tgWtO6pZ4Q+lRzsTa6 VMMQ== 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=g+QxtCUpTT29DwuWpzKFzIS8Qmi/to+YtHCmVjkLSkQ=; b=PDUz5f1qVhr8usvmtJRDrMJ+MWF9SqGaATtlJj7MrzUCif7YU/KB0j7buqQSNpcpHs EW5Y8r+bG3SEzekjxFaw8QaKn61Kx5X7Ks4CPNYrtpj8DzIK/GsHlq0QtVEJ4EZuZOfO XFWZiX0dtwA5MFYE6LwNL+Yf2blS6++2fmmQyAaEbAxg+TbWOunu8dLUjaQ08pObPZ3f P3L1hair966iwwsdl+ffKFdVtR3xJ1L5u3nc/zj6tyonVAj07sJ+7NDR6ujxdvlWyk1Q CzocPB6Rw0PzC/RGfTW+F/usiVxz9+miw8ek+d67AACcUwuy9IZsqeKX4w8AnOc1hZTy tGAQ== 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 a22si10557646pfn.340.2018.04.08.02.46.37; Sun, 08 Apr 2018 02:47:14 -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 S1752854AbeDHJJw (ORCPT + 99 others); Sun, 8 Apr 2018 05:09:52 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:42526 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752111AbeDHJJs (ORCPT ); Sun, 8 Apr 2018 05:09:48 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BF9BB4072458; Sun, 8 Apr 2018 09:09:47 +0000 (UTC) Received: from localhost (ovpn-8-18.pek2.redhat.com [10.72.8.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id ACCA32166BAE; Sun, 8 Apr 2018 09:09:46 +0000 (UTC) Date: Sun, 8 Apr 2018 17:09:44 +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: <20180408090944.GF19345@localhost.localdomain> References: <20180408024724.16812-2-bhe@redhat.com> <201804081223.lLuGQOqa%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201804081223.lLuGQOqa%fengguang.wu@intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 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:48 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Sun, 08 Apr 2018 09:09:48 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.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 On 04/08/18 at 01:55pm, 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: sparc-defconfig (attached as .config) > compiler: sparc-linux-gcc (GCC) 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=sparc > > All errors (new ones prefixed by >>): > > arch/sparc/kernel/ioport.c: In function 'sparc_io_proc_show': > >> arch/sparc/kernel/ioport.c:672:9: error: incompatible types when assigning to type 'struct resource *' from type 'struct list_head' > for (r = root->child; r != NULL; r = r->sibling) { > ^ > arch/sparc/kernel/ioport.c:672:37: error: incompatible types when assigning to type 'struct resource *' from type 'struct list_head' > for (r = root->child; r != NULL; r = r->sibling) { > ^ Thanks, will change and repost. > > vim +672 arch/sparc/kernel/ioport.c > > ^1da177e4 Linus Torvalds 2005-04-16 666 > e7a088f93 Alexey Dobriyan 2009-09-01 667 static int sparc_io_proc_show(struct seq_file *m, void *v) > ^1da177e4 Linus Torvalds 2005-04-16 668 { > e7a088f93 Alexey Dobriyan 2009-09-01 669 struct resource *root = m->private, *r; > ^1da177e4 Linus Torvalds 2005-04-16 670 const char *nm; > ^1da177e4 Linus Torvalds 2005-04-16 671 > e7a088f93 Alexey Dobriyan 2009-09-01 @672 for (r = root->child; r != NULL; r = r->sibling) { > c31f76518 Sam Ravnborg 2014-04-21 673 if ((nm = r->name) == NULL) nm = "???"; > e7a088f93 Alexey Dobriyan 2009-09-01 674 seq_printf(m, "%016llx-%016llx: %s\n", > 685143ac1 Greg Kroah-Hartman 2006-06-12 675 (unsigned long long)r->start, > 685143ac1 Greg Kroah-Hartman 2006-06-12 676 (unsigned long long)r->end, nm); > ^1da177e4 Linus Torvalds 2005-04-16 677 } > ^1da177e4 Linus Torvalds 2005-04-16 678 > e7a088f93 Alexey Dobriyan 2009-09-01 679 return 0; > ^1da177e4 Linus Torvalds 2005-04-16 680 } > ^1da177e4 Linus Torvalds 2005-04-16 681 > > :::::: The code at line 672 was first introduced by commit > :::::: e7a088f935180b90cfe6ab0aaae8a556f46885fe sparc: convert /proc/io_map, /proc/dvma_map to seq_file > > :::::: TO: Alexey Dobriyan > :::::: CC: David S. Miller > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation