From: Peter Huewe Date: Mon, 29 Oct 2012 20:48:17 +0000 (+0100) Subject: perf/x86: Fix sparse warnings X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~77^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95d18aa2b6c05351181934b3bc34ce038cc7b637;p=pandora-kernel.git perf/x86: Fix sparse warnings FYI, there are new sparse warnings: arch/x86/kernel/cpu/perf_event.c:1356:18: sparse: symbol 'events_attr' was not declared. Should it be static? This patch makes it static and also adds the static keyword to fix arch/x86/kernel/cpu/perf_event.c:1344:9: warning: symbol 'events_sysfs_show' was not declared. Signed-off-by: Peter Huewe Cc: Peter Zijlstra Cc: Yuanhan Liu Cc: fengguang.wu@intel.com Cc: Jiri Olsa Link: http://lkml.kernel.org/n/tip-lerdpXlnruh0yvWs2owwuizl@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed