From: Joe Perches <joe@perches.com>
To: linux-kernel@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, Avi Kivity <avi@redhat.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
kvm@vger.kernel.org
Subject: [PATCH next 04/16] arch/x86: Use static const char * const where possible
Date: Mon, 13 Sep 2010 21:23:50 -0700 [thread overview]
Message-ID: <435f275c3a189b65b992ec838aa9f2c790bfe768.1284435709.git.joe@perches.com> (raw)
In-Reply-To: <cover.1284435709.git.joe@perches.com>
Signed-off-by: Joe Perches <joe@perches.com>
---
arch/x86/kernel/smpboot.c | 2 +-
arch/x86/kvm/mmu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 63a1a55..b745b30 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -498,7 +498,7 @@ static void impress_friends(void)
void __inquire_remote_apic(int apicid)
{
unsigned i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 };
- char *names[] = { "ID", "VERSION", "SPIV" };
+ const char * const names[] = { "ID", "VERSION", "SPIV" };
int timeout;
u32 status;
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index d2dad65..2a7d567 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -56,7 +56,7 @@ enum {
AUDIT_POST_PTE_WRITE
};
-char *audit_point_name[] = {
+const char * const audit_point_name[] = {
"pre page fault",
"post page fault",
"pre pte write",
--
1.7.3.rc1
next prev parent reply other threads:[~2010-09-14 4:24 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-14 4:23 [PATCH next 00/16] treewide: " Joe Perches
2010-09-14 4:23 ` [PATCH next 01/16] arch/alpha: " Joe Perches
2010-09-14 15:37 ` Richard Henderson
2010-09-14 17:03 ` Matt Turner
2010-09-14 4:23 ` [PATCH next 02/16] arch/ia64: " Joe Perches
2010-09-14 4:23 ` [PATCH next 03/16] arch/microblaze: " Joe Perches
2010-09-14 5:59 ` Michal Simek
2010-09-14 4:23 ` Joe Perches [this message]
2010-09-14 4:23 ` [PATCH next 05/16] drivers/gpu: " Joe Perches
2010-09-14 4:23 ` [PATCH next 06/16] drivers/isdn: " Joe Perches
2010-09-14 4:23 ` [PATCH next 07/16] drivers/net: " Joe Perches
2010-09-14 4:23 ` [PATCH next 08/16] drivers/net/pcmcia: " Joe Perches
2010-09-14 4:23 ` [PATCH next 09/16] drivers/net/wireless: " Joe Perches
2010-09-14 7:12 ` Ivo Van Doorn
2010-09-14 4:23 ` [PATCH next 10/16] drivers/scsi: " Joe Perches
2010-09-14 4:23 ` [PATCH next 11/16] drivers/staging: " Joe Perches
2010-09-14 4:23 ` [PATCH next 12/16] drivers/usb: " Joe Perches
2010-09-14 4:23 ` [PATCH next 13/16] drivers/watchdog: " Joe Perches
2010-09-14 4:24 ` [PATCH next 14/16] fs: " Joe Perches
2010-09-14 4:24 ` [PATCH next 15/16] net/irda: " Joe Perches
2010-09-14 4:24 ` [PATCH next 16/16] sound: " Joe Perches
2010-09-14 14:17 ` Takashi Iwai
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=435f275c3a189b65b992ec838aa9f2c790bfe768.1284435709.git.joe@perches.com \
--to=joe@perches.com \
--cc=avi@redhat.com \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=mtosatti@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®