From: Namhyung Kim Date: Mon, 23 Apr 2012 04:58:36 +0000 (+0900) Subject: tools lib traceevent: Check result of malloc() during reading token X-Git-Tag: v3.6-rc1~167^2~7^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e54b34aed1c4082ed03f4d1f7a19276059b1e30a;p=pandora-kernel.git tools lib traceevent: Check result of malloc() during reading token The malloc can fail so the return value should be checked. For now, just use malloc_or_die(). Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: David Ahern Link: http://lkml.kernel.org/r/1335157118-14658-10-git-send-email-namhyung.kim@lge.com Signed-off-by: Steven Rostedt Signed-off-by: Namhyung Kim --- Reading git-diff-tree failed