[openib-general] Re: [PATCH][RFC/v1][9/12] Add InfiniBand userspace MAD support

Greg KH greg at kroah.com
Tue Nov 23 07:17:47 PST 2004


On Tue, Nov 23, 2004 at 07:06:07AM -0800, Roland Dreier wrote:
>     Greg> Yes, it probably should be.  Hm, no, we don't allow you to
>     Greg> put class specific files if you use the class_simple API,
>     Greg> sorry I misread your question.  You can just handle the
>     Greg> class yourself and use the CLASS_ATTR() macro to define your
>     Greg> api version function.
> 
> Ugh, then we end up duplicating the class_simple code.  Would you
> accept a patch that adds class_simple_create_file()/class_simple_remove_file()?

Ick, ok, sure.  Just make sure to mark them as EXPORT_SYMBOL_GPL() :)

thanks,

greg k-h



More information about the general mailing list