summaryrefslogtreecommitdiff
path: root/net/atm/resources.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-05-11 00:34:20 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2020-05-21 03:31:34 +0300
commita3929484af75ee524419edbbc4e9ce012c3d67c9 (patch)
tree3d9a07871d1f21d67790aff524f61b1085c14057 /net/atm/resources.h
parent8c2348e36af0da79477b0726781da297263269a4 (diff)
downloadlinux-a3929484af75ee524419edbbc4e9ce012c3d67c9.tar.xz
atm: move copyin from atm_getnames() into the caller
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/atm/resources.h')
-rw-r--r--net/atm/resources.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/resources.h b/net/atm/resources.h
index 18f8e5948ce4..5e2c68d37d63 100644
--- a/net/atm/resources.h
+++ b/net/atm/resources.h
@@ -14,7 +14,7 @@
extern struct list_head atm_devs;
extern struct mutex atm_dev_mutex;
-int atm_getnames(void __user *arg, int compat);
+int atm_getnames(void __user *buf, int __user *iobuf_len);
int atm_dev_ioctl(unsigned int cmd, void __user *arg, int compat);