diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-03 07:52:35 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-06-08 10:13:56 -0400 |
commit | c7388c1f8fb6d8687403e9554c873f9df4512797 (patch) | |
tree | 14d22f5ce789c4983e85155da9ce51cefdb9d958 | |
parent | 56965ac7253ece22050cf31ea5d1558e4c49cff2 (diff) | |
download | linux-stable-c7388c1f8fb6d8687403e9554c873f9df4512797.tar.gz linux-stable-c7388c1f8fb6d8687403e9554c873f9df4512797.tar.bz2 linux-stable-c7388c1f8fb6d8687403e9554c873f9df4512797.zip |
net/sysctl: remove leftover __user annotations on neigh_proc_dointvec*
Remove the leftover __user annotation on the prototypes for
neigh_proc_dointvec*. The implementations already got this right, but
the headers kept the __user tags around.
Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler")
Reported-by: build test robot <lkp@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | include/net/neighbour.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/net/neighbour.h b/include/net/neighbour.h index e1476775769c..81ee17594c32 100644 --- a/include/net/neighbour.h +++ b/include/net/neighbour.h @@ -392,13 +392,12 @@ void *neigh_seq_next(struct seq_file *, void *, loff_t *); void neigh_seq_stop(struct seq_file *, void *); int neigh_proc_dointvec(struct ctl_table *ctl, int write, - void __user *buffer, size_t *lenp, loff_t *ppos); + void *buffer, size_t *lenp, loff_t *ppos); int neigh_proc_dointvec_jiffies(struct ctl_table *ctl, int write, - void __user *buffer, + void *buffer, size_t *lenp, loff_t *ppos); int neigh_proc_dointvec_ms_jiffies(struct ctl_table *ctl, int write, - void __user *buffer, - size_t *lenp, loff_t *ppos); + void *buffer, size_t *lenp, loff_t *ppos); int neigh_sysctl_register(struct net_device *dev, struct neigh_parms *p, proc_handler *proc_handler); |