projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/fs/notify/fanotify/fanotify_user.c
b/fs/notify/fanotify/fanotify_user.c
index 87f0be852f712b492eaca75ee6a18994d1bb6991..7c869fa23ec6a9349fd9fe2559b1f0b83e27bd5d 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