[PATCH] cpuset procfs warning fix
fs/proc/base.c:1869: warning: initialization discards qualifiers from pointer target type fs/proc/base.c:2150: warning: initialization discards qualifiers from pointer target type Cc: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
918d3f90e8
commit
089e34b600
@@ -2656,7 +2656,7 @@ static int cpuset_open(struct inode *inode, struct file *file)
|
||||
return single_open(file, proc_cpuset_show, pid);
|
||||
}
|
||||
|
||||
const struct file_operations proc_cpuset_operations = {
|
||||
struct file_operations proc_cpuset_operations = {
|
||||
.open = cpuset_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
|
Reference in New Issue
Block a user