[Devel] Re: [PATCH 4/4] Fixup container_of() usage
Rusty Russell
rusty at rustcorp.com.au
Tue Jan 8 02:40:51 PST 2008
On Tuesday 08 January 2008 19:46:29 Alexey Dobriyan wrote:
> Using "attr" twice is not OK, because it effectively prohibits such
> container_of() on variables not named "attr".
>
> Signed-off-by: Alexey Dobriyan <adobriyan at sw.ru>
Thanks, nice catch. Took me a while to understand that you meant "you can't
use to_sq_sysfs_attr() on a variable not named attr".
Acked-by: Rusty Russell <rusty at rustcorp.com.au>
More information about the Devel
mailing list