From: Li Zhong Date: Mon, 13 Apr 2015 07:48:37 +0000 (+0800) Subject: powerpc/perf/hv-24x7: Fail 24x7 initcall if create_events_from_catalog() fails X-Git-Tag: omap-for-v4.2/o2_dc~116^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7debc970ae7a5573ed43a1dfa242fd1a5390d21a;p=pandora-kernel.git powerpc/perf/hv-24x7: Fail 24x7 initcall if create_events_from_catalog() fails As Michael pointed out, create_events_from_catalog() fails when we either have: - a kernel bug - some sort of hypervisor misconfiguration - ENOMEM In all the above cases, we can also fail 24x7 initcall. For hypervisor errors, EIO is used so there is something reported in dmesg. Signed-off-by: Li Zhong Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed