Re: [PATCH] no need to cast pointer to (void *) when passing it tokfree()

From: Jesper Juhl
Date: Tue Apr 05 2005 - 05:41:43 EST


On Tue, 5 Apr 2005, David Howells wrote:

> Date: Tue, 05 Apr 2005 11:04:58 +0100
> From: David Howells <dhowells@xxxxxxxxxx>
> To: Jesper Juhl <juhl-lkml@xxxxxx>
> Cc: linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>
> Subject: Re: [PATCH] no need to cast pointer to (void *) when passing it to
> kfree()
>
> Jesper Juhl <juhl-lkml@xxxxxx> wrote:
>
> > kfree() takes a void pointer argument, no need to cast.
>
> vma->vm_start is unsigned long (unless it's changed since last I looked):
>
As I wrote in the reply I send to my original mail I made a stupid
mistake. Don't know what I was thinking. Sorry.

--
Jesper


-
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/