From patchwork Tue Feb 24 08:26:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Wiberg X-Patchwork-Id: 5870441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 90DE09F373 for ; Tue, 24 Feb 2015 08:29:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB1E820650 for ; Tue, 24 Feb 2015 08:29:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 135862064F for ; Tue, 24 Feb 2015 08:29:20 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQAph-00068v-39; Tue, 24 Feb 2015 08:27:09 +0000 Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQApc-000635-1O for linux-arm-kernel@lists.infradead.org; Tue, 24 Feb 2015 08:27:04 +0000 Received: by lbiz12 with SMTP id z12so23151081lbi.11 for ; Tue, 24 Feb 2015 00:26:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:user-agent:mime-version :content-type; bh=R4huA1tx6FqlFro2yoxDD9RfH8XRSZO8U577Ip0leX0=; b=zIiuV5qTHPsN+7GJqV62Q8jy00POGLW4WxBvGof3YE/rDJlH/dCe6UzTWNX1hXgg6H 6vm0uOMqYTIIR6yS6N7DByoGLpTb8MvYF1akRD2YGtXfhZGLG6JCm91/XHeoQVBPyU4E +7j/8aqQSrqI5/jjnNwPZVuG+7H2W68uZ5qyuZZxf3Y+vFz27vU98sf2fv17Vx9nckxP 5D/GmtnguLYj/DDt9XW67D0GUOgEmaUJZkBzu4824zDee+UAkV0MtH2lLiaJRSajjAc4 hxoapbueWr6l8/vr31dnIEqJMhcunscwlRgpXQLWJmrglMH7J5iqIQywM4Xh1gOWb1mE DzOg== X-Received: by 10.112.223.7 with SMTP id qq7mr13361092lbc.81.1424766401255; Tue, 24 Feb 2015 00:26:41 -0800 (PST) Received: from luthien (h-161-89.a259.priv.bahnhof.se. [109.228.161.89]) by mx.google.com with ESMTPSA id n12sm6896021lbg.31.2015.02.24.00.26.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 00:26:40 -0800 (PST) From: Troglobit X-Google-Original-From: Troglobit Date: Tue, 24 Feb 2015 09:26:39 +0100 (CET) X-X-Sender: jocke@luthien To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] pci-versatile.c: Update for API change in list_for_each_entry() Message-ID: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150224_002704_288760_5EDDB9D6 X-CRM114-Status: GOOD ( 11.09 ) X-Spam-Score: -0.8 (/) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In Linux 4.0-rc1 ARM Versatile PCI build fails to build due to what appears to be an API update. This patch is a very simple correction, merely posted as a heads-up to the maintainers. Hopefully a better fix can be forwarded to Linus. Signed-off-by: Joachim Nilsson --- drivers/pci/host/pci-versatile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host/pci-versatile.c b/drivers/pci/host/pci-versatile.c index 1ec694a..464bf49 100644 --- a/drivers/pci/host/pci-versatile.c +++ b/drivers/pci/host/pci-versatile.c @@ -80,7 +80,7 @@ static int versatile_pci_parse_request_of_pci_ranges(struct device *dev, if (err) return err; - resource_list_for_each_entry(win, res, list) { + resource_list_for_each_entry(win, res) { struct resource *parent, *res = win->res; switch (resource_type(res)) {