]> git.baikalelectronics.ru Git - kernel.git/commit
Fix container_of() usage
authorAlexey Dobriyan <adobriyan@sw.ru>
Fri, 8 Feb 2008 12:20:14 +0000 (04:20 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:32 +0000 (09:22 -0800)
commit19e5737132a97b16d593742678ba801ab14aad53
treede8a3dec84bb554daf0b53a06bf3b1107e7e8ff6
parenta826866874753e485e1da4600d7fc5bf6f2178a7
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