[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46A8D076.6040400@garzik.org>
Date: Thu, 26 Jul 2007 12:48:54 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Al Viro <viro@....linux.org.uk>
CC: torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ax88796 (address space): cast to unsigned long, not long
Al Viro wrote:
> Signed-off-by: Al Viro <viro@...iv.linux.org.uk>
> ---
> drivers/net/ax88796.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c
> index 1d88236..e43e804 100644
> --- a/drivers/net/ax88796.c
> +++ b/drivers/net/ax88796.c
> @@ -819,7 +819,7 @@ static int ax_probe(struct platform_device *pdev)
> }
>
> ei_status.mem = ioremap(res->start, size);
> - dev->base_addr = (long)ei_status.mem;
> + dev->base_addr = (unsigned long)ei_status.mem;
ACK
-
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