Skip to contentSkip to conversation

[2.6.29] epoll: use real type instead of void *

PATCH In review Tony Battersby 1 participant 1 message Feb 24, 2009 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 6/6 [2.6.29] 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.

---

This patch is against 2.6.29-rc6; however, it doesn't need to go into 2.6.29. Use the -mm version instead if applying after the other patches in -mm.

fs/eventpoll.c +1 -1
@@ -213,7 +213,7 @@ struct eppoll_entry {
 	struct list_head llink;
 
 	/* 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