projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55922c9
)
fuse: fix non-ANSI void function notation
author
Randy Dunlap
<randy.dunlap@oracle.com>
Tue, 31 May 2011 21:09:00 +0000
(14:09 -0700)
committer
Miklos Szeredi
<mszeredi@suse.cz>
Wed, 1 Jun 2011 14:09:32 +0000
(16:09 +0200)
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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/inode.c
patch
|
blob
|
history
diff --git
a/fs/fuse/inode.c
b/fs/fuse/inode.c
index cc6ec4b2f0ffed9c05959b149614a8a1e19e467d..5354906e797cc69962755b52f74698c343ae6f36 100644
(file)
--- a/
fs/fuse/inode.c
+++ b/
fs/fuse/inode.c
@@
-71,7
+71,7
@@
struct fuse_mount_data {
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);
}