Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 5 Apr 2005 12:39:44 +0200 (CEST) | From | Jesper Juhl <> | Subject | Re: [PATCH] no need to cast pointer to (void *) when passing it to kfree() |
| |
On Tue, 5 Apr 2005, David Howells wrote:
> Date: Tue, 05 Apr 2005 11:04:58 +0100 > From: David Howells <dhowells@redhat.com> > To: Jesper Juhl <juhl-lkml@dif.dk> > Cc: linux-kernel <linux-kernel@vger.kernel.org> > Subject: Re: [PATCH] no need to cast pointer to (void *) when passing it to > kfree() > > Jesper Juhl <juhl-lkml@dif.dk> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |