Commit 1ee9fcc1 authored by Cody P Schafer's avatar Cody P Schafer Committed by Benjamin Herrenschmidt

powerpc/perf/hv-24x7: Remove [static 4096], sparse chokes on it

Signed-off-by: default avatarCody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 78d13166
...@@ -170,7 +170,7 @@ static unsigned long h_get_24x7_catalog_page_(unsigned long phys_4096, ...@@ -170,7 +170,7 @@ static unsigned long h_get_24x7_catalog_page_(unsigned long phys_4096,
index); 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) u32 version, u32 index)
{ {
return h_get_24x7_catalog_page_(virt_to_phys(page), return h_get_24x7_catalog_page_(virt_to_phys(page),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment