Loading fs/proc/base.c +1 −1 Original line number Diff line number Diff line Loading @@ -1761,7 +1761,7 @@ static const char *proc_pid_get_link(struct dentry *dentry, return ERR_PTR(error); } static int do_proc_readlink(struct path *path, char __user *buffer, int buflen) static int do_proc_readlink(const struct path *path, char __user *buffer, int buflen) { char *tmp = kmalloc(PATH_MAX, GFP_KERNEL); char *pathname; Loading Loading
fs/proc/base.c +1 −1 Original line number Diff line number Diff line Loading @@ -1761,7 +1761,7 @@ static const char *proc_pid_get_link(struct dentry *dentry, return ERR_PTR(error); } static int do_proc_readlink(struct path *path, char __user *buffer, int buflen) static int do_proc_readlink(const struct path *path, char __user *buffer, int buflen) { char *tmp = kmalloc(PATH_MAX, GFP_KERNEL); char *pathname; Loading