Re: [patch] tracing: checking for NULL instead of IS_ERR()

From: Steven Rostedt
Date: Tue Apr 26 2016 - 09:41:15 EST


On Mon, 25 Apr 2016 13:59:32 -0500
Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx> wrote:

> Hi Dan,
>
> On 04/23/2016 05:23 AM, Dan Carpenter wrote:
> > tracing_map_elt_alloc() returns ERR_PTRs on error, never NULL.
> >
> > Fixes: 08d43a5fa063 ('tracing: Add lock-free tracing_map')
> > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> >

>
> Acked-by: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx>

Applied.

Thanks Dan and Tom,

-- Steve