Thread (5 messages) 5 messages, 3 authors, 2010-09-30

Re: [RFC 1/2] genetlink: introduce pre_doit/post_doit hooks

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2010-09-30 22:44:15
Also in: linux-wireless

On Fri, 2010-10-01 at 08:41 +1000, Julian Calaby wrote:
quoted
 d) include two private pointers in each info
   struct passed between all these operations
   including doit(). (It's two because I'll
   need two in nl80211 -- can be extended.)
Stupid question:

Why not have a priv struct rather than an arbitrary array of two pointers?
It'd have to be dynamically allocated, and the "arbitrary" array of two
pointers can be on the stack.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help