Commit a2daff68 authored by Randy Dunlap's avatar Randy Dunlap Committed by Miklos Szeredi

fuse: fix non-ANSI void function notation

Fix void function parameter list sparse warning:

fs/fuse/inode.c:74:44: warning: non-ANSI function declaration of function 'fuse_alloc_forget'
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 55922c9d
...@@ -71,7 +71,7 @@ struct fuse_mount_data { ...@@ -71,7 +71,7 @@ struct fuse_mount_data {
unsigned blksize; unsigned blksize;
}; };
struct fuse_forget_link *fuse_alloc_forget() struct fuse_forget_link *fuse_alloc_forget(void)
{ {
return kzalloc(sizeof(struct fuse_forget_link), GFP_KERNEL); return kzalloc(sizeof(struct fuse_forget_link), GFP_KERNEL);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment