From: Steven Rostedt > Sent: 05 October 2021 22:25 > ... > > Basically (one alternative I was looking at) was simply passing around a > void pointer. Not sure how the RCU macros would handle that. But to > completely abstract it out, I was thinking of just returning void * and > accepting void *, but I didn't want to do that because now we just lost any > kind of type checking done by the compiler. The tricks I was playing was to > keep some kind of type checking. Yes, don't use 'void *'. Sun used it for all the pointers in their DDI/DKI - made it impossible to ensure you were passing in the right type of 'token'. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)