epoll: use real type instead of void *
PATCH 6/6 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 <[email protected]>
---
This patch is against the current -mm tree, and might not apply to 2.6.29. Since this patch probably won't go into 2.6.29, you may apply this version of the patch after the other patches in -mm.
fs/eventpoll.c +1 -1
@@ -192,7 +192,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
Quoted 2 lines · Tony Battersby
eventpoll.cuses void * in one place for no obvious reason; change it to use the real type instead.
Acked-by Davide Libenzi <[email protected]>
- Davide