* [PATCH] fuse: fix non-ANSI void function notation
@ 2011-05-31 21:09 Randy Dunlap
2011-06-01 14:10 ` Miklos Szeredi
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2011-05-31 21:09 UTC (permalink / raw)
To: linux-fsdevel; +Cc: Miklos Szeredi, fuse-devel
From: Randy Dunlap <randy.dunlap@oracle.com>
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>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Cc: fuse-devel@lists.sourceforge.net
---
fs/fuse/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx26today.orig/fs/fuse/inode.c
+++ lnx26today/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);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fuse: fix non-ANSI void function notation
2011-05-31 21:09 [PATCH] fuse: fix non-ANSI void function notation Randy Dunlap
@ 2011-06-01 14:10 ` Miklos Szeredi
0 siblings, 0 replies; 2+ messages in thread
From: Miklos Szeredi @ 2011-06-01 14:10 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-fsdevel, fuse-devel
Randy Dunlap <randy.dunlap@oracle.com> writes:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> Fix void function parameter list sparse warning:
>
> fs/fuse/inode.c:74:44: warning: non-ANSI function declaration of
> function 'fuse_alloc_forget'
Thanks Randy, applied.
Miklos
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-01 14:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-31 21:09 [PATCH] fuse: fix non-ANSI void function notation Randy Dunlap
2011-06-01 14:10 ` Miklos Szeredi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).