lkml.org 
[lkml]   [2006]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -mm] constify mm/page_alloc.c strings
Hi all,

Signed-off-by: Andreas Mohr <andi@lisas.de>


diff -urN linux-2.6.17-rc6-mm2.orig/mm/page_alloc.c linux-2.6.17-rc6-mm2.my/mm/page_alloc.c
--- linux-2.6.17-rc6-mm2.orig/mm/page_alloc.c 2006-06-13 19:28:17.000000000 +0200
+++ linux-2.6.17-rc6-mm2.my/mm/page_alloc.c 2006-06-13 19:32:18.000000000 +0200
@@ -2743,7 +2743,7 @@
.show = zoneinfo_show,
};

-static char *vmstat_text[] = {
+static const char * const vmstat_text[] = {
/* Zoned VM counters */
"nr_anon",
"nr_mapped",
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-06-13 21:58    [W:0.018 / U:6.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site