On Mon, 2007-09-24 at 15:11 +0200, Johannes Berg wrote: > > > Please consider using "long" for hardware_value. Drivers should be able > > > to use this value as a pointer to some driver-specific structure. > > > > If you want to use it as pointer better make it a pointer.. > > Then we'd have to have two values. I don't see a need for having a > pointer at all though. Pavel, can you show a driver that really benefits > from that? And explain why it can't use an array index here? No, it's just a "general sanity" thing. If we want the driver to keep some data there without specifying what data it can be, it's better to provide a way to keep a pointer if needed. OK, if my suggestion doesn't sound interesting, we can forget it for now. After all, it's easy to change Linux code at any time, as long as the external interfaces are not involved. -- Regards, Pavel Roskin - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html