[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200811031433.31746.jbarnes@virtuousgeek.org>
Date: Mon, 3 Nov 2008 14:33:31 -0800
From: Jesse Barnes <jbarnes@...tuousgeek.org>
To: Harvey Harrison <harvey.harrison@...il.com>
Cc: Arjan van de Ven <arjan@...ux.intel.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pci: annotate return value of pci_ioremap_bar with __iomem
On Sunday, November 2, 2008 1:32 pm Harvey Harrison wrote:
> Acked-by: Arjan van de Ven <arjan@...ux.intel.com>
> Signed-off-by: Harvey Harrison <harvey.harrison@...il.com>
> ---
> include/linux/pci.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/pci.h b/include/linux/pci.h
> index 9194adf..03b0b8c 100644
> --- a/include/linux/pci.h
> +++ b/include/linux/pci.h
> @@ -1142,7 +1142,7 @@ static inline void pci_mmcfg_late_init(void) { }
> #endif
>
> #ifdef CONFIG_HAS_IOMEM
> -static inline void * pci_ioremap_bar(struct pci_dev *pdev, int bar)
> +static inline void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar)
> {
> /*
> * Make sure the BAR is actually a memory resource, not an IO resource
Applied to my for-linus branch.
Thanks,
Jesse
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists