X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Falpha%2Fkernel%2Fsrm_env.c;h=990ac61028f860971fe12547662f0c9e47816518;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=08241c44123a523839593f84e74c40a5545f6788;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/arch/alpha/kernel/srm_env.c b/arch/alpha/kernel/srm_env.c index 08241c441..990ac6102 100644 --- a/arch/alpha/kernel/srm_env.c +++ b/arch/alpha/kernel/srm_env.c @@ -5,7 +5,7 @@ * Copyright (C) 2001-2002 Jan-Benedict Glaw * * This driver is at all a modified version of Erik Mouw's - * ./linux/Documentation/DocBook/procfs_example.c, so: thank + * Documentation/DocBook/procfs_example.c, so: thank * you, Erik! He can be reached via email at * . It is based on an idea * provided by DEC^WCompaq^WIntel's "Jumpstart" CD. They @@ -57,7 +57,6 @@ */ #include -#include #include #include #include @@ -132,7 +131,7 @@ srm_env_read(char *page, char **start, off_t off, int count, int *eof, static int -srm_env_write(struct file *file, const char *buffer, unsigned long count, +srm_env_write(struct file *file, const char __user *buffer, unsigned long count, void *data) { int res;