Re: [PATCH 6/6] proc: use IS_ERR_OR_NULL()

From: Cong Wang
Date: Thu Apr 12 2012 - 09:18:26 EST


On 04/12/2012 08:41 AM, Hugh Dickins wrote:
On Wed, 11 Apr 2012, Cong Wang wrote:

Cc: Oleg Nesterov<oleg@xxxxxxxxxx>
Cc: Alexey Dobriyan<adobriyan@xxxxxxxxx>
Signed-off-by: Cong Wang<xiyou.wangcong@xxxxxxxxx>

Whereas this one, I don't object, but I don't see it as an improvement.


It is not am improvement, it is a trivial patch to use IS_ERR_OR_NULL().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/