projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2d8790
)
fanotify: do not return 0 in a void function
author
Eric Paris
<eparis@redhat.com>
Wed, 23 Dec 2009 05:10:25 +0000
(
00:10
-0500)
committer
Eric Paris
<eparis@redhat.com>
Wed, 28 Jul 2010 13:59:02 +0000
(09:59 -0400)
remove_access_response() is supposed to have a void return, but was
returning 0;
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/fanotify_user.c
patch
|
blob
|
history
diff --git
a/fs/notify/fanotify/fanotify_user.c
b/fs/notify/fanotify/fanotify_user.c
index
87f0be8
..
7c869fa
100644
(file)
--- a/
fs/notify/fanotify/fanotify_user.c
+++ b/
fs/notify/fanotify/fanotify_user.c
@@
-231,7
+231,7
@@
static void remove_access_response(struct fsnotify_group *group,
struct fsnotify_event *event,
__s32 fd)
{
- return
0
;
+ return;
}
#endif