浏览代码

epoll: use real type instead of void *

eventpoll.c uses void * in one place for no obvious reason; change it to
use the real type instead.

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Acked-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Tony Battersby 16 年之前
父节点
当前提交
4f0989dbfa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/eventpoll.c

+ 1 - 1
fs/eventpoll.c

@@ -192,7 +192,7 @@ struct eppoll_entry {
 	struct list_head llink;
 	struct list_head llink;
 
 
 	/* The "base" pointer is set to the container "struct epitem" */
 	/* The "base" pointer is set to the container "struct epitem" */
-	void *base;
+	struct epitem *base;
 
 
 	/*
 	/*
 	 * Wait queue item that will be linked to the target file wait
 	 * Wait queue item that will be linked to the target file wait