Re: [PATCH 2/2] tools lib traceevent: Do not call warning() directly

From: Steven Rostedt
Date: Fri Mar 21 2014 - 11:24:27 EST


On Wed, 19 Mar 2014 10:22:54 +0900
Namhyung Kim <namhyung@xxxxxxxxxx> wrote:

> The patch 3a3ffa2e82205 ("tools lib traceevent: Report better error
> message on bad function args") added the error message but it seems
> there's no reason to call warning() directly.
>
> So change it to do_warning_event() to provide event information too.
>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

-- Steve
--
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/