summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/srm_env.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/srm_env.c')
-rw-r--r--arch/alpha/kernel/srm_env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/srm_env.c b/arch/alpha/kernel/srm_env.c
index 4afc1a1e2e5a..f0df3fbd8402 100644
--- a/arch/alpha/kernel/srm_env.c
+++ b/arch/alpha/kernel/srm_env.c
@@ -87,7 +87,7 @@ static int srm_env_proc_show(struct seq_file *m, void *v)
srm_env_t *entry;
char *page;
- entry = (srm_env_t *)m->private;
+ entry = m->private;
page = (char *)__get_free_page(GFP_USER);
if (!page)
return -ENOMEM;