[PATCH] cris: axisflashmap: fixes static strings declaration From: Ricardo Nabinger Sanchez Change strings declaration from char *str = ""; to char str[] = "";, avoiding the extra pointer, as noted by Jeff Garzik. Signed-off-by: Alexey Dobriyan Index: linux-kj/arch/cris/arch-v10/drivers/axisflashmap.c =================================================================== --- linux-kj.orig/arch/cris/arch-v10/drivers/axisflashmap.c 2005-10-28 16:25:10.000000000 +0400 +++ linux-kj/arch/cris/arch-v10/drivers/axisflashmap.c 2005-10-28 16:29:59.000000000 +0400 @@ -396,7 +396,7 @@ static int __init init_axis_flash(void) struct partitiontable_head *ptable_head = NULL; struct partitiontable_entry *ptable; int use_default_ptable = 1; /* Until proven otherwise. */ - const char *pmsg = " /dev/flash%d at 0x%08x, size 0x%08x\n"; + const char pmsg[] = " /dev/flash%d at 0x%08x, size 0x%08x\n"; if (!(mymtd = flash_probe())) { /* There's no reason to use this module if no flash chip can