[linux-yocto] [PATCH 26/35] drivers/spi: Fix Compiler Warnings
Bruce Ashfield
bruce.ashfield at windriver.com
Sun Nov 16 20:46:30 PST 2014
On 2014-11-13, 12:19 PM, Daniel Dragomir wrote:
> From: John Jacques <john.jacques at lsi.com>
Same comment here. We should have a reference to the warning and
commit that caused it.
Bruce
>
> Signed-off-by: John Jacques <john.jacques at lsi.com>
> ---
> drivers/spi/spi-pl022.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
> index 36a33f6..b772c862 100644
> --- a/drivers/spi/spi-pl022.c
> +++ b/drivers/spi/spi-pl022.c
> @@ -2219,8 +2219,8 @@ static int pl022_probe(struct amba_device *adev, const struct amba_id *id)
> status = -ENOMEM;
> goto err_no_ioremap;
> }
> - pr_info("pl022: mapped registers from 0x%08x to %p\n",
> - adev->res.start, pl022->virtbase);
> + pr_info("pl022: mapped registers from 0x%08lx to %p\n",
> + (unsigned long)adev->res.start, pl022->virtbase);
>
> pl022->clk = devm_clk_get(&adev->dev, NULL);
> if (IS_ERR(pl022->clk)) {
>
More information about the linux-yocto
mailing list