Hi Jean, On 5/9/05, Jean Delvare <khali at linux-fr.org> wrote: > Hi Yani, > > You could always define a static array of pointers, and use the passed > int as an index to that array, thus converting the int into a pointer. > It's not very different from defining a static array of ints and passing > the int addresses as the void*, but for some reason I tend to prefer the > int -> pointer conversion (most certainly because my view if awfully > biased by my misknowledge of the kernel except for the i2c and hardware > monitoring code). Yes, so it is possible just very ugly :-). I'm not sure what I think of the int->pointer conversion, I guess its a necessary evil. I can't help feel like I'm doing something wrong when I do it though.. > > > Yes, it is starting to look like the cold hand of a dictator might be > > needed ... where is Greg anyway ;-)? > > Don't blame him, I am wasting his time over IRC, this is why... ;) Ahhh, that explains it .. poor Greg ;). Yani