mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 6/6] [2.6.29] epoll: use real type instead of void *
@ 2009-02-24 17:27 Tony Battersby
  0 siblings, 0 replies; only message in thread
From: Tony Battersby @ 2009-02-24 17:27 UTC (permalink / raw)
  To: Andrew Morton, Davide Libenzi; +Cc: Jonathan Corbet, linux-kernel

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>
---

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.

--- a/fs/eventpoll.c	2009-02-20 17:22:03.000000000 -0500
+++ b/fs/eventpoll.c	2009-02-20 17:22:14.000000000 -0500
@@ -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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-24 17:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-24 17:27 [PATCH 6/6] [2.6.29] epoll: use real type instead of void * Tony Battersby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®