Explorar o código

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>
Eric Paris %!s(int64=16) %!d(string=hai) anos
pai
achega
8860f060e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fs/notify/fanotify/fanotify_user.c

+ 1 - 1
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