aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/osf_sys.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-09-14 04:23:47 -0400
committerMatt Turner <mattst88@gmail.com>2010-09-18 23:06:17 -0400
commit31019075f41c785eff7f38c62e4c700af019fdb7 (patch)
treea483a219970d94c55cde6c1db6a2a81d2f0955ea /arch/alpha/kernel/osf_sys.c
parent151b6a5f1d4c547c92ec67a5a6fedc16f435956e (diff)
alpha: Use static const char * const where possible
Acked-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/kernel/osf_sys.c')
-rw-r--r--arch/alpha/kernel/osf_sys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c
index 5d1e6d6ce684..16bc1f5df3e2 100644
--- a/arch/alpha/kernel/osf_sys.c
+++ b/arch/alpha/kernel/osf_sys.c
@@ -594,7 +594,7 @@ SYSCALL_DEFINE2(osf_sigstack, struct sigstack __user *, uss,
594 594
595SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count) 595SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count)
596{ 596{
597 char *sysinfo_table[] = { 597 const char *sysinfo_table[] = {
598 utsname()->sysname, 598 utsname()->sysname,
599 utsname()->nodename, 599 utsname()->nodename,
600 utsname()->release, 600 utsname()->release,
@@ -606,7 +606,7 @@ SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count)
606 "dummy", /* secure RPC domain */ 606 "dummy", /* secure RPC domain */
607 }; 607 };
608 unsigned long offset; 608 unsigned long offset;
609 char *res; 609 const char *res;
610 long len, err = -EINVAL; 610 long len, err = -EINVAL;
611 611
612 offset = command-1; 612 offset = command-1;