Skip to content
Commit f0002627 authored by Mathias Krause's avatar Mathias Krause Committed by Ingo Molnar
Browse files

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: default avatarMathias Krause <minipli@googlemail.com>
Link: http://lkml.kernel.org/r/1346621506-30857-2-git-send-email-minipli@googlemail.com


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 5b716ac7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment