login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
10
Re: [PATCH 10/17][trivial] staging, bcm: Remove unnecessary casts of void ptr returning alloc function return values
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Greg KH
Subject:
Re: [PATCH 10/17][trivial] staging, bcm: Remove unnecessary casts of void ptr returning alloc function return values
Date: Tuesday, November 9, 2010 - 5:45 pm
On Tue, Nov 09, 2010 at 12:09:51AM +0100, Jesper Juhl wrote:
quoted text
> 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@chaosbits.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? thanks, greg k-h --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 10/17][trivial] staging, bcm: Remove unnecessary ca ...
, Jesper Juhl
, (Mon Nov 8, 4:09 pm)
Re: [PATCH 10/17][trivial] staging, bcm: Remove unnecessar ...
, Greg KH
, (Tue Nov 9, 5:45 pm)
Re: [PATCH 10/17][trivial] staging, bcm: Remove unnecessar ...
, Jesper Juhl
, (Wed Nov 10, 1:12 am)
Re: [PATCH 10/17][trivial] staging, bcm: Remove unnecessar ...
, Jesper Juhl
, (Wed Nov 10, 1:31 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?