From: Zhang, Yanmin Date: Thu, 25 Feb 2010 03:00:51 +0000 (+0800) Subject: perf symbols: Check the right return variable X-Git-Tag: v2.6.34-rc1~197^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37fe5fcb7a5b5235c8b71bf5469ce4c7246e3fab;p=pandora-kernel.git perf symbols: Check the right return variable In function dso__split_kallsyms(), curr_map saves the return value of map__new2. So check it instead of var map after the call returns. Signed-off-by: Zhang Yanmin Acked-by: David S. Miller Cc: # for .33.x Cc: Peter Zijlstra Cc: Mike Galbraith Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker LKML-Reference: <1267066851.1726.9.camel@localhost> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed