On Thu, Jan 09, 2014 at 12:40:49AM +0100, Samuel Thibault wrote:
> Samuel Thibault, le Thu 09 Jan 2014 00:39:30 +0100, a écrit :
> > Mmm, perhaps it would be more useful to define a typedef with the
> > attribute, and use it instead of struct kmem_cache?
> 
> Mmm, from slab.h it would seem that you can apply the attribute directly
> to the structure, thus even avoiding the typedef altogether?

Yes, that's the preferred way.

-- 
Richard Braun

Reply via email to