x86: Fix __user annotations in asm/sys_ia32.h
authorMathias Krause <minipli@googlemail.com>
Sun, 2 Sep 2012 21:31:40 +0000 (23:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 5 Sep 2012 08:52:23 +0000 (10:52 +0200)
commitf00026276ace77dcad1cdf17f696ae4e56e12ee6
tree73619a646675d8c149a6b3c38726044a4cd2a6f2
parent5b716ac728bcc01b1f2a7ed6e437196602237c27
x86: Fix __user annotations in asm/sys_ia32.h

Fix the following sparse warnings:

  sys_ia32.c:293:38: warning: incorrect type in argument 2 (different address spaces)
  sys_ia32.c:293:38:    expected unsigned int [noderef] [usertype] <asn:1>*stat_addr
  sys_ia32.c:293:38:    got unsigned int *stat_addr

Ironically, sys_ia32.h was introduced to fix sparse warnings but
missed that one.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Link: http://lkml.kernel.org/r/1346621506-30857-2-git-send-email-minipli@googlemail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/ia32/sys_ia32.c
arch/x86/include/asm/sys_ia32.h