From: Cody P Schafer Date: Tue, 15 Apr 2014 17:10:54 +0000 (-0700) Subject: powerpc/perf/hv-24x7: Remove [static 4096], sparse chokes on it X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=1ee9fcc1a021e54454a23b107a47d10fb603508c;p=deliverable%2Flinux.git powerpc/perf/hv-24x7: Remove [static 4096], sparse chokes on it Signed-off-by: Cody P Schafer Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c index 3e8f60a1d53f..95a67f81f22a 100644 --- a/arch/powerpc/perf/hv-24x7.c +++ b/arch/powerpc/perf/hv-24x7.c @@ -170,7 +170,7 @@ static unsigned long h_get_24x7_catalog_page_(unsigned long phys_4096, index); } -static unsigned long h_get_24x7_catalog_page(char page[static 4096], +static unsigned long h_get_24x7_catalog_page(char page[], u32 version, u32 index) { return h_get_24x7_catalog_page_(virt_to_phys(page),