aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_sysctl.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-08-18 01:17:32 -0400
committerDavid S. Miller <davem@davemloft.net>2016-08-18 01:17:32 -0400
commit60747ef4d173c2747bf7f0377fb22846cb422195 (patch)
treeea0faf33b952495c47909be1400c475a3f3821b0 /fs/proc/proc_sysctl.c
parent484334198f8ce9552e20930fff9408ebf6bcf94d (diff)
parent184ca823481c99dadd7d946e5afd4bb921eab30d (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Minor overlapping changes for both merge conflicts. Resolution work done by Stephen Rothwell was used as a reference. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/proc/proc_sysctl.c')
-rw-r--r--fs/proc/proc_sysctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
index 62d8c6975d34..2ed3d71d4767 100644
--- a/fs/proc/proc_sysctl.c
+++ b/fs/proc/proc_sysctl.c
@@ -479,7 +479,7 @@ static struct dentry *proc_sys_lookup(struct inode *dir, struct dentry *dentry,
479{ 479{
480 struct ctl_table_header *head = grab_header(dir); 480 struct ctl_table_header *head = grab_header(dir);
481 struct ctl_table_header *h = NULL; 481 struct ctl_table_header *h = NULL;
482 struct qstr *name = &dentry->d_name; 482 const struct qstr *name = &dentry->d_name;
483 struct ctl_table *p; 483 struct ctl_table *p;
484 struct inode *inode; 484 struct inode *inode;
485 struct dentry *err = ERR_PTR(-ENOENT); 485 struct dentry *err = ERR_PTR(-ENOENT);
@@ -839,7 +839,7 @@ static int sysctl_is_seen(struct ctl_table_header *p)
839 return res; 839 return res;
840} 840}
841 841
842static int proc_sys_compare(const struct dentry *parent, const struct dentry *dentry, 842static int proc_sys_compare(const struct dentry *dentry,
843 unsigned int len, const char *str, const struct qstr *name) 843 unsigned int len, const char *str, const struct qstr *name)
844{ 844{
845 struct ctl_table_header *head; 845 struct ctl_table_header *head;