]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib traceevent: test correct variable after allocation
authorSasha Levin <sasha.levin@oracle.com>
Fri, 21 Dec 2012 20:00:58 +0000 (15:00 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:16 +0000 (16:40 -0300)
commit8a97471eed41137424049211480b740090003be1
tree31d68c09decc734dafd666f316bdeab5a2a222cc
parentc01464241bb4806dd706d0eccee905688e3f27fc
tools lib traceevent: test correct variable after allocation

we've tested the wrong variable for allocation failure, fix it to
test the right one.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1356120062-2648-1-git-send-email-sasha.levin@oracle.com
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c