All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bhelgaas@google.com>
To: Pratyush Anand <pratyush.anand@st.com>
Cc: "jg1.han@samsung.com" <jg1.han@samsung.com>,
	Mohit KUMAR DCG <Mohit.KUMAR@st.com>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: Re: [PATCH] PCIe: Designware: Extract struct pcie_port_info elements into struct pcie_port
Date: Mon, 8 Sep 2014 10:13:30 -0600	[thread overview]
Message-ID: <CAErSpo5LSunJSfXGGO3asiMYgkzGEeaaKCHRYeaBiv0o8aG3JQ@mail.gmail.com> (raw)
In-Reply-To: <20140908044014.GC2464@pratyush-vbox>

On Sun, Sep 7, 2014 at 10:40 PM, Pratyush Anand <pratyush.anand@st.com> wrote:
> On Sat, Sep 06, 2014 at 08:03:29AM +0800, Bjorn Helgaas wrote:
>> On Sat, Aug 16, 2014 at 12:52:39PM +0530, Pratyush Anand wrote:
>> > struct pcie_port_info elements are not containing any exclusive
>> > information compared to other elements of struct pcie_port. So, keeping
>> > a separate structure like struct pcie_port_info does not seem very
>> > logical. Therefore remove this struct  and embed its elements directly
>> > into struct pcie_port.
>> >
>> > Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
>>
>> Applied with Mohit's ack to pci/host-designware for v3.18, thanks!
>>
>> I had to resolve some merge conflicts, so look it over and make sure I
>> did it correctly.
>
> Following diff need to be merged with the commit.
> Let me know if I need to resend this patch rebased on top of
> pci/host-designware ~ 1.
>
> diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
> index 04a71093bf9a..5d720c21fdc0 100644
> --- a/drivers/pci/host/pcie-designware.c
> +++ b/drivers/pci/host/pcie-designware.c
> @@ -520,7 +520,7 @@ int __init dw_pcie_host_init(struct pcie_port *pp)
>         }
>
>         if (!pp->va_cfg1_base) {
> -               pp->cfg1_base = pp->cfg.start + pp->config.cfg0_size;
> +               pp->cfg1_base = pp->cfg.start + pp->cfg0_size;
>                 pp->va_cfg1_base = devm_ioremap(pp->dev, pp->cfg1_base,
>                                                 pp->cfg1_size);
>                 if (!pp->va_cfg1_base) {
>
>

I updated pci/host-designware with this fix, thanks!

Bjorn

      reply	other threads:[~2014-09-08 16:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-16  7:22 [PATCH] PCIe: Designware: Extract struct pcie_port_info elements into struct pcie_port Pratyush Anand
2014-09-03  4:11 ` Mohit KUMAR DCG
2014-09-06  0:03 ` Bjorn Helgaas
2014-09-08  4:40   ` Pratyush Anand
2014-09-08 16:13     ` Bjorn Helgaas [this message]

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=CAErSpo5LSunJSfXGGO3asiMYgkzGEeaaKCHRYeaBiv0o8aG3JQ@mail.gmail.com \
    --to=bhelgaas@google.com \
    --cc=Mohit.KUMAR@st.com \
    --cc=jg1.han@samsung.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=pratyush.anand@st.com \
    /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.