x86/signals: ia32_signal.c: add __user casts to fix sparse warnings
authorMathias Krause <minipli@googlemail.com>
Sun, 2 Sep 2012 21:31:42 +0000 (23:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 5 Sep 2012 08:52:24 +0000 (10:52 +0200)
commit0ff8fef4eaf252ee13a2d0b175a8c876415bd62a
tree7547209745a668568ac000a661f687b46e701afd
parent3d1334064fb365ea8f299874c2b4c46de2bee74d
x86/signals: ia32_signal.c: add __user casts to fix sparse warnings

Fix the following sparse warnings by adding appropriate __user
casts and annotations:

  ia32_signal.c:165:38: warning: incorrect type in argument 1 (different address spaces)
   ia32_signal.c:165:38:    expected struct sigaltstack const [noderef] [usertype] <asn:1>*<noident>
  ia32_signal.c:165:38:    got struct sigaltstack *
  [...]

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Link: http://lkml.kernel.org/r/1346621506-30857-4-git-send-email-minipli@googlemail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/ia32/ia32_signal.c