浏览代码

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 15 年之前
父节点
当前提交
8860f060e4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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