procfs: use C99 struct inits
PATCH 1/1 procfs: use C99 struct inits
Al,
Please add this to your patch queue if you don't already have it.
Use C99 struct inits as requested by sparse:fs/proc/base.c:738:2: warning: obsolete struct initializer, use C99 syntax fs/proc/base.c:739:2: warning: obsolete struct initializer, use C99 syntax
Signed-off-by Randy Dunlap <[email protected]>
diffstat:=
fs/proc/base.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
fs/proc/base.c renamed from fs/proc/base.c~proc_c99_inits +2 -2
@@ -735,8 +735,8 @@ static ssize_t oom_adjust_write(struct f }static struct file_operations proc_oom_adjust_operations = { - read: oom_adjust_read, - write: oom_adjust_write, + .read = oom_adjust_read, + .write = oom_adjust_write, };static struct inode_operations proc_mem_inode_operations = {
---