Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ERR_PTR and co. [try #5]

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Zach Brown <zach.brown@...>
Cc: <dhowells@...>, <linux-kernel@...>, <linux-fsdevel@...>
Date: Thursday, October 25, 2007 - 7:46 pm

On Thu, 25 Oct 2007 16:09:09 -0700
Zach Brown <zach.brown@oracle.com> wrote:


It'll warn without the cast.

btw, nit time.  This style:

	return (void *)ptr;

outnumbers this style

	return (void *) ptr;

by 4 to 1.  And I don't find the space attractive, useful or logical,
personally.

-
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 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)
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ERR_..., Andrew Morton, (Thu Oct 25, 7:46 pm)