All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: Jingoo Han <jg1.han@samsung.com>
Cc: 'Bjorn Helgaas' <bhelgaas@google.com>,
	linux-pci@vger.kernel.org, 'Jason Cooper' <jason@lakedaemon.net>
Subject: Re: [PATCH V3 3/3] PCI: mvebu: return NULL instead of ERR_PTR(ret)
Date: Mon, 23 Sep 2013 09:24:41 +0200	[thread overview]
Message-ID: <20130923092441.18d79397@skate> (raw)
In-Reply-To: <001001ceb816$5d1aecc0$1750c640$%han@samsung.com>

Dear Jingoo Han,

On Mon, 23 Sep 2013 13:35:42 +0900, Jingoo Han wrote:
> Return NULL instead of ERR_PTR(ret) in order to fix the following
> sparse warning:
> 
> drivers/pci/host/pci-mvebu.c:744:31: warning: incorrect type in return expression (different address spaces)
> drivers/pci/host/pci-mvebu.c:744:31:    expected void [noderef] <asn:2>*
> drivers/pci/host/pci-mvebu.c:744:31:    got void *
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-- 
Thomas Petazzoni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2013-09-23  7:24 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17  5:25 [PATCH V2 1/3] PCI: tegra: add missing __iomem annotation Jingoo Han
2013-09-17  5:26 ` [PATCH V2 2/3] PCI: mvebu: make local functions static Jingoo Han
2013-09-17  5:27 ` [PATCH V2 3/3] PCI: mvebu: add missing __iomem annotation Jingoo Han
2013-09-17 17:42   ` Thomas Petazzoni
2013-09-23  2:27     ` Jingoo Han
2013-09-23  4:35 ` [PATCH V3 3/3] PCI: mvebu: return NULL instead of ERR_PTR(ret) Jingoo Han
2013-09-23  7:24   ` Thomas Petazzoni [this message]
2013-11-25 20:02   ` Jason Gunthorpe
2013-11-25 20:02     ` Jason Gunthorpe
2013-11-26  5:31     ` Jingoo Han
2013-11-26  5:31       ` Jingoo Han
2013-11-26 12:27       ` Jason Cooper
2013-11-26 12:27         ` Jason Cooper
2013-11-26 18:09       ` Jason Gunthorpe
2013-11-26 18:09         ` Jason Gunthorpe
2013-11-27  1:59         ` Jingoo Han
2013-11-27  1:59           ` Jingoo Han
2013-11-27  1:59           ` Jingoo Han
2013-11-27  2:17           ` [PATCH] linux/err.h: Provide an ERR_PTR_IO that returns an __iomem pointer Josh Triplett
2013-11-27  2:17             ` Josh Triplett
2013-11-27  2:26           ` PCI: mvebu: return NULL instead of ERR_PTR(ret) Joe Perches
2013-11-27  2:26             ` Joe Perches
2013-11-27  2:35             ` Josh Triplett
2013-11-27  2:35               ` Josh Triplett
2013-11-27  2:48               ` Joe Perches
2013-11-27  2:48                 ` Joe Perches
  -- strict thread matches above, loose matches on Subject: below --
2013-09-23  4:33 [PATCH V3 1/3] PCI: tegra: add missing __iomem annotation Jingoo Han
2013-09-23  6:31 ` [PATCH V3 3/3] PCI: mvebu: return NULL instead of ERR_PTR(ret) Jingoo Han
2013-10-15  9:12   ` Jingoo Han
2013-10-17 13:04     ` Jason Cooper

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=20130923092441.18d79397@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=bhelgaas@google.com \
    --cc=jason@lakedaemon.net \
    --cc=jg1.han@samsung.com \
    --cc=linux-pci@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.