Re: [PATCH 6/6] ERR_PTR: warn when ERR_PTR parameter is not errno value

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Weiner <hannes@...>
Cc: Alexey Dobriyan <adobriyan@...>, LKML <linux-kernel@...>, Andrew Morton <akpm@...>, Al Viro <viro@...>, Christoph Hellwig <hch@...>
Date: Thursday, May 22, 2008 - 12:08 pm

On Mon, May 19, 2008 at 02:11:21PM +0200, Johannes Weiner wrote:

Well, when I add 0 as a valid argument for ERR_PTR, this check won't add too many
false positives, so I think simple WARN_ON is safe.

Marcin
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 6/6] ERR_PTR: warn when ERR_PTR parameter is not ..., Marcin Slusarz, (Thu May 22, 12:08 pm)
[PATCH 5/6] vfs: fix ERR_PTR abuse in generic_readlink, Marcin Slusarz, (Sun May 18, 6:03 pm)
[PATCH 3/6] vfs: open_exec cleanup, Marcin Slusarz, (Sun May 18, 6:01 pm)
Re: [PATCH 3/6] vfs: open_exec cleanup, Christoph Hellwig, (Mon May 19, 1:53 am)
Re: [PATCH 3/6] vfs: open_exec cleanup, Marcin Slusarz, (Thu May 22, 11:57 am)
[PATCH 2/6] ERR_PTR: add ERR_OR_0_PTR, Marcin Slusarz, (Sun May 18, 6:01 pm)
Re: [PATCH 2/6] ERR_PTR: add ERR_OR_0_PTR, Christoph Hellwig, (Mon May 19, 1:55 am)
Re: [PATCH 2/6] ERR_PTR: add ERR_OR_0_PTR, Al Viro, (Mon May 19, 2:33 am)
Re: [PATCH 2/6] ERR_PTR: add ERR_OR_0_PTR, Johannes Weiner, (Sun May 18, 7:04 pm)
[PATCH 0/6] Sanity checks for ERR_PTR argument, Marcin Slusarz, (Sun May 18, 5:56 pm)