From: Michael Neuling <mikey@neuling.org>
To: Jia Hongtao <B38951@freescale.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] powerpc/fsl-pci: fix warning when CONFIG_SWIOTLB is disabled
Date: Wed, 19 Sep 2012 07:06:39 +1000 [thread overview]
Message-ID: <24157.1348002399@neuling.org> (raw)
In-Reply-To: <1347962268-25136-1-git-send-email-B38951@freescale.com>
Jia Hongtao <B38951@freescale.com> wrote:
> Fix the following warning:
> arch/powerpc/sysdev/fsl_pci.c: In function 'fsl_pci_probe':
> arch/powerpc/sysdev/fsl_pci.c:867:25: error: unused variable 'hose'
>
> Signed-off-by: Jia Hongtao <B38951@freescale.com>
Acked-by: Michael Neuling <mikey@neuling.org>
> ---
> arch/powerpc/sysdev/fsl_pci.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c
> index 2ff3576..3d6f4d8 100644
> --- a/arch/powerpc/sysdev/fsl_pci.c
> +++ b/arch/powerpc/sysdev/fsl_pci.c
> @@ -864,7 +864,9 @@ static int __devinit fsl_pci_probe(struct platform_device *pdev)
> {
> int ret;
> struct device_node *node;
> +#ifdef CONFIG_SWIOTLB
> struct pci_controller *hose;
> +#endif
>
> node = pdev->dev.of_node;
> ret = fsl_add_bridge(node, fsl_pci_primary == node);
> --
> 1.7.5.1
>
>
next prev parent reply other threads:[~2012-09-18 21:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-18 9:57 [PATCH] powerpc/fsl-pci: fix warning when CONFIG_SWIOTLB is disabled Jia Hongtao
2012-09-18 21:06 ` Michael Neuling [this message]
2012-09-19 14:51 ` Kumar Gala
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=24157.1348002399@neuling.org \
--to=mikey@neuling.org \
--cc=B38951@freescale.com \
--cc=linuxppc-dev@lists.ozlabs.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.