diff options
author | Joe Perches <joe@perches.com> | 2010-09-14 04:23:47 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2010-09-18 23:06:17 -0400 |
commit | 31019075f41c785eff7f38c62e4c700af019fdb7 (patch) | |
tree | a483a219970d94c55cde6c1db6a2a81d2f0955ea /arch/alpha/kernel/osf_sys.c | |
parent | 151b6a5f1d4c547c92ec67a5a6fedc16f435956e (diff) | |
download | op-kernel-dev-31019075f41c785eff7f38c62e4c700af019fdb7.zip op-kernel-dev-31019075f41c785eff7f38c62e4c700af019fdb7.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index 5d1e6d6..16bc1f5 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, SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count) { - char *sysinfo_table[] = { + const char *sysinfo_table[] = { utsname()->sysname, utsname()->nodename, utsname()->release, @@ -606,7 +606,7 @@ SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count) "dummy", /* secure RPC domain */ }; unsigned long offset; - char *res; + const char *res; long len, err = -EINVAL; offset = command-1; |