Skip to content

Commit

Permalink
powerpc/perf/hv-24x7: Remove [static 4096], sparse chokes on it
Browse files Browse the repository at this point in the history
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Cody P Schafer authored and Benjamin Herrenschmidt committed Apr 28, 2014
1 parent 78d1316 commit 1ee9fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/perf/hv-24x7.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 1ee9fcc

Please sign in to comment.