[RFC PATCH 2.6.12-rc3] dynamic driver sysfs callbacks and RFC on bmcsensor rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 26, 2005 at 09:42:11AM +0200, Jean Delvare wrote:
> > And the void * shouldn't be called ptr, use what other structures call
> > their void pointers, "data", "private", etc.
> 
> What are these other structures, BTW? I'd like to take a look at them,
> maybe it would enlighten my views.

struct device
struct file
struct inode

And others.  No one needs to define a pointer as "ptr", that's just
redundant :)

But yes, it should be a "void *" that part is correct.  No matter what
we want to store in there, that will be sufficient.

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux