Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp251342ybe; Tue, 3 Sep 2019 22:05:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1QT+c5E2YNdjlj3t+tNS3IKUNUyf74iibzkPa6GUhWl/IalbXdEZlehQpgylTiBYwoowu X-Received: by 2002:a17:902:fe17:: with SMTP id g23mr24625998plj.36.1567573528620; Tue, 03 Sep 2019 22:05:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567573528; cv=none; d=google.com; s=arc-20160816; b=CQJZ+Ak/5hXnW0r3pVzXs9j3rIjAB1k/a/ty+gXd5B6tl/89JBdrJ7Q596OpG3BFVn qnafTq+vPmyOBIhfysqMmFgQL5ae69UoPI6/5NBSPXHfn5/j5x+BKnsZPG4HqHTWRMIO Eobw/JhNbHHGC8SxD9LHbT6n6q/8999nCJpvJlSnJE+0moWWPeAi+yoAF4cbuAq4BEpS /IMOu17vGVhFXxZgQ/9XKZh5OdEjZMVK43a0TeqCH5PFJ4hg/G2isf61KyaD00KMK/qV xyH2lt3L/X9KkBSwUG9VRVqqdVm3TTd4FfBXL5AqVhZ6YlHFsv5zEd+eKvQicdv0DGx5 FwVA== 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:dkim-signature; bh=lsq82oNvBEQIeF0WKJ+0h4DDWoEVAOmpOmGGWPrimjg=; b=Mh6hSgr5nUhWR4dC10MmPnIjHapVEExgtq7qhu96iRkrC8R4htficxSSHdfHDMyRc7 BK85YHA1ubpb5t8TMfzsOqVYvrXqKdhlAMGu+HGpG0nSdsahC2oOX76t+4W9T+gYICTz uBMx666OaSmQlYLcMx8xKyWXz/jcqjMCG4RHckpEAsaLqgyy7W6XqdtySr6kVN3lXwTK ZUTtz1YEOa+4a1jGk/U5LgqQEMTf5WWhofvgdQgtsRpvngiNIYYbasf0+DReGxhmZN5L Nh4NBlaMXYifywwp2F0xQmI0PfMgRpFxBDUeE4tL/ew8mbmZDXDjsmHEYo9SzJ9BNEMI UJWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=sSX9+LYS; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x139si16490924pgx.251.2019.09.03.22.05.13; Tue, 03 Sep 2019 22:05:28 -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; dkim=pass header.i=@joelfernandes.org header.s=google header.b=sSX9+LYS; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728327AbfIDFEW (ORCPT + 99 others); Wed, 4 Sep 2019 01:04:22 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:43951 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725877AbfIDFEW (ORCPT ); Wed, 4 Sep 2019 01:04:22 -0400 Received: by mail-pg1-f193.google.com with SMTP id u72so6352020pgb.10 for ; Tue, 03 Sep 2019 22:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lsq82oNvBEQIeF0WKJ+0h4DDWoEVAOmpOmGGWPrimjg=; b=sSX9+LYSky7pVINOhuiSGCpzJfa3HJmKQK2ENjGQS8trcc5Ge/BA3AImBjV67Btlly kXba3zW5GwwxPfXhf+29/2SxuIHn1gx3Cd8o0O+kEF8wXV0j5ORhJBc3n9a9III/2ZFr H5L2KmnULH1LaMxIRXIgMGl8+6walA0wD4LSE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=lsq82oNvBEQIeF0WKJ+0h4DDWoEVAOmpOmGGWPrimjg=; b=OUf1Z/KLhK317H32DIk8U1jfB5hEVNtvrxkNWIhwJvzFJsBTm5CboK2uE0NePUGxHK PMVquk+mMJCUnJHKINAtrRGs3CJKbSy/bFYqUil+PX5jsDyiuDEvdUxRn+BX8GB7wG3c zzWqZtuh9OJrQFgcqQnFKZZIhz9Y1GzYu+3FLtm0I/OOo1hnd4kO3rh6M5AD0WNfa85A lECHzDJ3JUZcHnjBITE7Jiemb3T2UOZjRkquGXp07vlhQgS7NbPxdP6L3xbLXHwMJreh VvXbwzDsIz8L6jfW/DoEVyFqgaP88O7fnVkAiM/E857p8hUAz+8MM1JAuJ5SeZ6rNTXk u/mw== X-Gm-Message-State: APjAAAXLzrAsMSNf9vrGwxwRV/+DcUZN9A3Exq6zEituVueoUCBhz2GE uSybQ9UCxdYZfwdCWZ0UuXBeIg== X-Received: by 2002:a17:90a:b292:: with SMTP id c18mr3042247pjr.1.1567573461329; Tue, 03 Sep 2019 22:04:21 -0700 (PDT) Received: from localhost ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id b13sm1185776pjz.10.2019.09.03.22.04.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 22:04:20 -0700 (PDT) Date: Wed, 4 Sep 2019 01:04:19 -0400 From: Joel Fernandes To: kbuild test robot Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, Andrew Morton , Arnd Bergmann , Bjorn Helgaas , Catalin Marinas , "Gustavo A. R. Silva" , Jonathan Derrick , Keith Busch , linux-pci@vger.kernel.org, Lorenzo Pieralisi Subject: Re: [PATCH 1/2] pci: Convert to use built-in RCU list checking Message-ID: <20190904050419.GA102582@google.com> References: <20190830231817.76862-1-joel@joelfernandes.org> <201909041108.RSjNvfDL%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201909041108.RSjNvfDL%lkp@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 04, 2019 at 12:06:43PM +0800, kbuild test robot wrote: > Hi "Joel, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [cannot apply to v5.3-rc7 next-20190903] > [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/Joel-Fernandes-Google/pci-Convert-to-use-built-in-RCU-list-checking/20190901-211013 > config: x86_64-rhel-7.6 (attached as .config) > compiler: gcc-7 (Debian 7.4.0-11) 7.4.0 > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 This error seems bogus. I pulled -next and applied this patch and it builds fine. I am not sure what is wrong with the 0day tree, and the above 0day link is also dead. What's going on with 0day ?! thanks, - Joel > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot > > All error/warnings (new ones prefixed by >>): > > drivers/pci/controller/vmd.c: In function 'vmd_irq': > >> drivers/pci/controller/vmd.c:722:37: error: macro "list_for_each_entry_rcu" passed 4 arguments, but takes just 3 > srcu_read_lock_held(&irqs->srcu)) > ^ > >> drivers/pci/controller/vmd.c:721:2: error: unknown type name 'list_for_each_entry_rcu' > list_for_each_entry_rcu(vmdirq, &irqs->irq_list, node, > ^~~~~~~~~~~~~~~~~~~~~~~ > >> drivers/pci/controller/vmd.c:723:28: error: expected ')' before '->' token > generic_handle_irq(vmdirq->virq); > ^~ > >> drivers/pci/controller/vmd.c:721:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] > list_for_each_entry_rcu(vmdirq, &irqs->irq_list, node, > ^~~~~~~~~~~~~~~~~~~~~~~ > drivers/pci/controller/vmd.c:717:18: warning: unused variable 'vmdirq' [-Wunused-variable] > struct vmd_irq *vmdirq; > ^~~~~~ > > vim +/list_for_each_entry_rcu +722 drivers/pci/controller/vmd.c > > 713 > 714 static irqreturn_t vmd_irq(int irq, void *data) > 715 { > 716 struct vmd_irq_list *irqs = data; > 717 struct vmd_irq *vmdirq; > 718 int idx; > 719 > 720 idx = srcu_read_lock(&irqs->srcu); > > 721 list_for_each_entry_rcu(vmdirq, &irqs->irq_list, node, > > 722 srcu_read_lock_held(&irqs->srcu)) > > 723 generic_handle_irq(vmdirq->virq); > 724 srcu_read_unlock(&irqs->srcu, idx); > 725 > 726 return IRQ_HANDLED; > 727 } > 728 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation