From: Ricardo Nabinger Sanchez Subject: [KJ] [PATCH 2.6.11.10] arch/cris: fixes static strings declaration o Fixes strings declaration from char *str = ""; to char str[] = "";, avoiding the extra pointer, as noted by Jeff Garzik. The strings' contents are not changed after declared. --- axisflashmap.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: quilt/arch/cris/arch-v10/drivers/axisflashmap.c =================================================================== --- quilt.orig/arch/cris/arch-v10/drivers/axisflashmap.c +++ quilt/arch/cris/arch-v10/drivers/axisflashmap.c @@ -393,7 +393,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