summaryrefslogtreecommitdiffstats
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)
downloadblackbird-op-linux-31019075f41c785eff7f38c62e4c700af019fdb7.tar.gz
blackbird-op-linux-31019075f41c785eff7f38c62e4c700af019fdb7.zip
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,
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;
OpenPOWER on IntegriCloud