From: akpm@linux-foundation.org
To: tt.rantala@gmail.com, fengguang.wu@intel.com,
rdunlap@xenotime.net, mm-commits@vger.kernel.org
Subject: [merged] page-types-constify-read-only-arrays.patch removed from -mm tree
Date: Tue, 15 Dec 2009 13:50:07 -0800 [thread overview]
Message-ID: <200912152150.nBFLo7SV014920@imap1.linux-foundation.org> (raw)
The patch titled
page-types: constify read only arrays
has been removed from the -mm tree. Its filename was
page-types-constify-read-only-arrays.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: page-types: constify read only arrays
From: Tommi Rantala <tt.rantala@gmail.com>
Signed-off-by: Tommi Rantala <tt.rantala@gmail.com>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
Documentation/vm/page-types.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff -puN Documentation/vm/page-types.c~page-types-constify-read-only-arrays Documentation/vm/page-types.c
--- a/Documentation/vm/page-types.c~page-types-constify-read-only-arrays
+++ a/Documentation/vm/page-types.c
@@ -100,7 +100,7 @@
#define BIT(name) (1ULL << KPF_##name)
#define BITS_COMPOUND (BIT(COMPOUND_HEAD) | BIT(COMPOUND_TAIL))
-static char *page_flag_names[] = {
+static const char *page_flag_names[] = {
[KPF_LOCKED] = "L:locked",
[KPF_ERROR] = "E:error",
[KPF_REFERENCED] = "R:referenced",
@@ -173,7 +173,7 @@ static int kpageflags_fd;
static int opt_hwpoison;
static int opt_unpoison;
-static char *hwpoison_debug_fs = "/debug/hwpoison";
+static const char hwpoison_debug_fs[] = "/debug/hwpoison";
static int hwpoison_inject_fd;
static int hwpoison_forget_fd;
@@ -885,7 +885,7 @@ static void parse_bits_mask(const char *
}
-static struct option opts[] = {
+static const struct option opts[] = {
{ "raw" , 0, NULL, 'r' },
{ "pid" , 1, NULL, 'p' },
{ "file" , 1, NULL, 'f' },
_
Patches currently in -mm which might be from tt.rantala@gmail.com are
origin.patch
reply other threads:[~2009-12-15 21:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200912152150.nBFLo7SV014920@imap1.linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=fengguang.wu@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=rdunlap@xenotime.net \
--cc=tt.rantala@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.