git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
net
/
atm
/
proc.c
diff --git
a/net/atm/proc.c
b/net/atm/proc.c
index
fffc39b
..
12f49fe
100644
(file)
--- a/
net/atm/proc.c
+++ b/
net/atm/proc.c
@@
-31,7
+31,7
@@
#include "common.h" /* atm_proc_init prototype */
#include "signaling.h" /* to get sigd - ugly too */
#include "common.h" /* atm_proc_init prototype */
#include "signaling.h" /* to get sigd - ugly too */
-static ssize_t proc_dev_atm_read(struct file *file,char *buf,size_t count,
+static ssize_t proc_dev_atm_read(struct file *file,char
__user
*buf,size_t count,
loff_t *pos);
static struct file_operations proc_atm_dev_ops = {
loff_t *pos);
static struct file_operations proc_atm_dev_ops = {
@@
-384,8
+384,8
@@
static struct file_operations svc_seq_fops = {
.release = vcc_seq_release,
};
.release = vcc_seq_release,
};
-static ssize_t proc_dev_atm_read(struct file *file,
char *buf,size_t count
,
- loff_t *pos)
+static ssize_t proc_dev_atm_read(struct file *file,
char __user *buf
,
+
size_t count,
loff_t *pos)
{
struct atm_dev *dev;
unsigned long page;
{
struct atm_dev *dev;
unsigned long page;