login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
26
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ERR_PTR and co. [try #5]
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Zach Brown <zach.brown@...>
To: Roland Dreier <rdreier@...>
Cc: David Howells <dhowells@...>, <akpm@...>, <linux-kernel@...>, <linux-fsdevel@...>
Subject:
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ERR_PTR and co. [try #5]
Date: Thursday, October 25, 2007 - 8:20 pm
Roland Dreier wrote:
quoted text
> > > +static inline void *ERR_CAST(const void *ptr) > > > +{ > > > + return (void *) ptr; > > > +} > > > > Just to nit, surely you don't need the cast inside the function. The > > casting happens at the call site between the argument and returned pointer. > > The way it's written you kinda do, since it takes a const void * and > returns a plain void *.
Ah, right, I missed that. - z -
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 00/31] Remove iget() and read_inode() [try #5]
, David Howells
, (Thu Oct 25, 12:33 pm)
[PATCH 31/31] IGET: Remove iget() and the read_inode() super...
, David Howells
, (Thu Oct 25, 12:36 pm)
[PATCH 30/31] IGET: Stop HPPFS from using iget() and read_in...
, David Howells
, (Thu Oct 25, 12:36 pm)
[PATCH 29/31] IGET: Stop HOSTFS from using iget() and read_i...
, David Howells
, (Thu Oct 25, 12:36 pm)
[PATCH 27/31] IGET: Stop UFS from using iget() and read_inod...
, David Howells
, (Thu Oct 25, 12:36 pm)
[PATCH 23/31] IGET: Stop PROCFS from using iget() and read_i...
, David Howells
, (Thu Oct 25, 12:35 pm)
[PATCH 28/31] IGET: Stop OPENPROMFS from using iget() and re...
, David Howells
, (Thu Oct 25, 12:36 pm)
[PATCH 26/31] IGET: Stop the SYSV filesystem from using iget...
, David Howells
, (Thu Oct 25, 12:36 pm)
[PATCH 24/31] IGET: Stop QNX4 from using iget() and read_ino...
, David Howells
, (Thu Oct 25, 12:36 pm)
[PATCH 18/31] IGET: Stop HFSPLUS from using iget() and read_...
, David Howells
, (Thu Oct 25, 12:35 pm)
[PATCH 17/31] IGET: Stop FUSE from using iget() and read_ino...
, David Howells
, (Thu Oct 25, 12:35 pm)
[PATCH 22/31] IGET: Stop the MINIX filesystem from using ige...
, David Howells
, (Thu Oct 25, 12:35 pm)
[PATCH 25/31] IGET: Stop ROMFS from using iget() and read_in...
, David Howells
, (Thu Oct 25, 12:36 pm)
[PATCH 16/31] IGET: Stop FreeVXFS from using iget() and read...
, David Howells
, (Thu Oct 25, 12:35 pm)
Re: [PATCH 16/31] IGET: Stop FreeVXFS from using iget() and ...
, Andrew Morton
, (Tue Nov 6, 6:25 am)
Re: [PATCH 16/31] IGET: Stop FreeVXFS from using iget() and ...
, David Howells
, (Tue Nov 6, 7:09 am)
Re: [PATCH 16/31] IGET: Stop FreeVXFS from using iget() and ...
, David Howells
, (Tue Nov 6, 7:13 am)
[PATCH 21/31] IGET: Stop JFS from using iget() and read_inod...
, David Howells
, (Thu Oct 25, 12:35 pm)
[PATCH 20/31] IGET: Stop JFFS2 from using iget() and read_in...
, David Howells
, (Thu Oct 25, 12:35 pm)
[PATCH 13/31] IGET: Stop EXT3 from using iget() and read_ino...
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 14/31] IGET: Stop EXT4 from using iget() and read_ino...
, David Howells
, (Thu Oct 25, 12:35 pm)
[PATCH 15/31] IGET: Stop FAT from using iget() and read_inod...
, David Howells
, (Thu Oct 25, 12:35 pm)
[PATCH 12/31] IGET: Stop EXT2 from using iget() and read_ino...
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 19/31] IGET: Stop ISOFS from using read_inode() [try ...
, David Howells
, (Thu Oct 25, 12:35 pm)
[PATCH 10/31] IGET: Stop CIFS from using iget() and read_ino...
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 11/31] IGET: Stop EFS from using iget() and read_inod...
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 09/31] IGET: Stop BFS from using iget() and read_inod...
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 08/31] IGET: Stop BEFS from using iget() and read_ino...
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 07/31] IGET: Stop autofs from using iget() and read_i...
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 06/31] IGET: Stop AFFS from using iget() and read_ino...
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 05/31] IGET: Use iget_failed() in GFS2 [try #5]
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 04/31] IGET: Use iget_failed() in AFS [try #5]
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 03/31] IGET: Introduce a function to register iget fa...
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 02/31] Convert ERR_PTR(PTR_ERR(p)) instances to ERR_C...
, David Howells
, (Thu Oct 25, 12:34 pm)
[PATCH 01/31] Add an ERR_CAST() macro to complement ERR_PTR ...
, David Howells
, (Thu Oct 25, 12:33 pm)
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ERR_...
, Zach Brown
, (Thu Oct 25, 7:09 pm)
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ERR_...
, Andrew Morton
, (Thu Oct 25, 7:46 pm)
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ERR_...
, Roland Dreier
, (Thu Oct 25, 7:38 pm)
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ERR_...
, Zach Brown
, (Thu Oct 25, 8:20 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Adrian Bunk
Re: LSM conversion to static interface
git
:
linux-netdev
:
Gerrit Renker
[PATCH 26/37] dccp: Integration of dynamic feature activation - part 1 (socket set...
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
Linus Torvalds
Re: [GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
939 guests
online.
Online users
ionut
garminportable
strcmp
nominalgeek
Syndicate