public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: troglobit@gmail.com (Troglobit)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pci-versatile.c: Update for API change in list_for_each_entry()
Date: Tue, 24 Feb 2015 09:26:39 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.10.1502240916240.26214@luthien> (raw)


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 <troglobit@gmail.com>

---
  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)) {
-- 
1.9.1

                 reply	other threads:[~2015-02-24  8:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.10.1502240916240.26214@luthien \
    --to=troglobit@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox