Re: [PATCH 3/3] pinctrl: sirf: add missing __iomem annotation

From: Linus Walleij
Date: Wed Aug 07 2013 - 15:37:13 EST


On Tue, Aug 6, 2013 at 11:14 AM, Jingoo Han <jg1.han@xxxxxxxxxxx> wrote:

> Added missing __iomem annotation in order to fix the following
> sparse warnings:
>
> drivers/pinctrl/sirf/pinctrl-sirf.c:846:14: warning: incorrect type in assignment (different address spaces)
> drivers/pinctrl/sirf/pinctrl-sirf.c:846:14: expected void *regs
> drivers/pinctrl/sirf/pinctrl-sirf.c:846:14: got void [noderef] <asn:2>*
> drivers/pinctrl/sirf/pinctrl-sirf.c:869:33: warning: incorrect type in assignment (different address spaces)
> drivers/pinctrl/sirf/pinctrl-sirf.c:869:33: expected void [noderef] <asn:2>*regs
> drivers/pinctrl/sirf/pinctrl-sirf.c:869:33: got void *regs
> drivers/pinctrl/sirf/pinctrl-sirf.c:909:17: warning: incorrect type in argument 1 (different address spaces)
> drivers/pinctrl/sirf/pinctrl-sirf.c:909:17: expected void volatile [noderef] <asn:2>*addr
> drivers/pinctrl/sirf/pinctrl-sirf.c:909:17: got void *regs
>
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/