summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-05-31 14:09:00 -0700
committerMiklos Szeredi <mszeredi@suse.cz>2011-06-01 16:09:32 +0200
commita2daff6803a384ce065e3681a2affea1da59c5f5 (patch)
treebd21bf2592cd95b1e3e83a927a25eed6ca3ea2ad
parent55922c9d1b84b89cb946c777fddccb3247e7df2c (diff)
downloadop-kernel-dev-a2daff6803a384ce065e3681a2affea1da59c5f5.zip
op-kernel-dev-a2daff6803a384ce065e3681a2affea1da59c5f5.tar.gz
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: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
-rw-r--r--fs/fuse/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index cc6ec4b..5354906e 100644
--- 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);
}
OpenPOWER on IntegriCloud