]> git.baikalelectronics.ru Git - kernel.git/commit
x86/vdso: Add __user annotation to VDSO32_SYMBOL
authorMathias Krause <minipli@googlemail.com>
Sun, 2 Sep 2012 21:31:41 +0000 (23:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 5 Sep 2012 08:52:23 +0000 (10:52 +0200)
commit6a819ee7cba9429bb7802a468d3adac326e594d6
tree6b49a371a4045acb696ccac430f210224e2c4020
parentf433d6ad516ee47b9abbc110216df0c15fb12986
x86/vdso: Add __user annotation to VDSO32_SYMBOL

The address calculated by VDSO32_SYMBOL() is a pointer into
userland. Add the __user annotation to fix related sparse
warnings in its users.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Andy Lutomirski <luto@MIT.EDU>
Link: http://lkml.kernel.org/r/1346621506-30857-3-git-send-email-minipli@googlemail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/vdso.h