lkml.org 
[lkml]   [2009]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[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.

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


\
 
 \ /
  Last update: 2009-02-24 18:31    [W:0.028 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site