Fix container_of() usage
commit25478445c4a39318acbe08ba8df7945766cbb5b5
authorAlexey Dobriyan <adobriyan@sw.ru>
Fri, 8 Feb 2008 12:20:14 +0000 (8 04:20 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:32 +0000 (8 09:22 -0800)
treede8a3dec84bb554daf0b53a06bf3b1107e7e8ff6
parent50e8a2890ed0eeb7a11ae0c39144fcdd1cad1cf8
Fix container_of() usage

Using "attr" twice is not OK, because it effectively prohibits such
container_of() on variables not named "attr".

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/kernel/cpu/sh4/sq.c
drivers/lguest/lguest_device.c