[openib-general] struct class and device.c

Roland Dreier roland at topspin.com
Mon Nov 29 11:24:34 PST 2004


    Michael> No, I had in mind using the children list in the class
    Michael> instead of the device_list in device.c and interfaces
    Michael> list instead of the client_list. Why not? Wouldnt that
    Michael> work?

I guess it would work but it seems ugly to rely on the internals of
struct class.  Although drivers/ieee1394 does do exactly this (without
any locking)....

 - R.


 



More information about the general mailing list