summaryrefslogtreecommitdiffstats
path: root/fs/notify/fanotify
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-12-23 00:10:25 -0500
committerEric Paris <eparis@redhat.com>2010-07-28 09:59:02 -0400
commit8860f060e473dce1a0873d92105d536f72b05908 (patch)
tree38f3d1f49a921ba28fec88d1046acbf2207bd831 /fs/notify/fanotify
parentb2d879096ac799722e6017ee82c0586f0d101c9c (diff)
downloadop-kernel-dev-8860f060e473dce1a0873d92105d536f72b05908.zip
op-kernel-dev-8860f060e473dce1a0873d92105d536f72b05908.tar.gz
fanotify: do not return 0 in a void function
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>
Diffstat (limited to 'fs/notify/fanotify')
-rw-r--r--fs/notify/fanotify/fanotify_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/fanotify/fanotify_user.c b/fs/notify/fanotify/fanotify_user.c
index 87f0be8..7c869fa 100644
--- 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
OpenPOWER on IntegriCloud