2009-03-02 23:11:55

by Tony Battersby

[permalink] [raw]
Subject: [PATCH 5/5] 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]>
Acked-by: Davide Libenzi <[email protected]>
---
--- a/fs/eventpoll.c 2009-02-23 13:32:00.000000000 -0500
+++ b/fs/eventpoll.c 2009-02-23 13:32:57.000000000 -0500
@@ -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