[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1011100911430.28522@swampdragon.chaosbits.net>
Date: Wed, 10 Nov 2010 09:12:25 +0100 (CET)
From: Jesper Juhl <jj@...osbits.net>
To: Greg KH <greg@...ah.com>
cc: linux-kernel@...r.kernel.org,
Randy Dunlap <randy.dunlap@...cle.com>,
devel@...verdev.osuosl.org, Dan Carpenter <error27@...il.com>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...e.de>,
Stephen Hemminger <shemminger@...tta.com>
Subject: Re: [PATCH 10/17][trivial] staging, bcm: Remove unnecessary casts
of void ptr returning alloc function return values
On Tue, 9 Nov 2010, Greg KH wrote:
> On Tue, Nov 09, 2010 at 12:09:51AM +0100, Jesper Juhl wrote:
> > Hi,
> >
> > The [vk][cmz]alloc(_node) family of functions return void pointers which
> > it's completely unnecessary/pointless to cast to other pointer types since
> > that happens implicitly.
> >
> > This patch removes such casts from drivers/staging/bcm/
> >
> >
> > Signed-off-by: Jesper Juhl <jj@...osbits.net>
> > ---
> > CmHost.c | 2 +-
> > InterfaceDld.c | 27 +++++++++++++--------------
> > Misc.c | 12 +++++-------
> > 3 files changed, 19 insertions(+), 22 deletions(-)
> >
> > diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c
>
> This driver just got a major overhaul, and this patch doesn't apply
> anymore.
>
> Care to redo it against the next linux-next tree?
>
Sure thing. I'll see if I can find the time to do that tonight when I get
home from work.
--
Jesper Juhl <jj@...osbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please.
--
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