From: Mathias Krause Date: Sun, 2 Sep 2012 21:31:44 +0000 (+0200) Subject: x86/fpu/xsave: Keep __user annotation in casts X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~88^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c7d03e99cb1ed449328ed9fba0c632944d39e7e;p=pandora-kernel.git x86/fpu/xsave: Keep __user annotation in casts Don't remove the __user annotation of the fpstate pointer, but drop the superfluous void * cast instead. This fixes the following sparse warnings: xsave.c:135:15: warning: cast removes address space of expression xsave.c:135:15: warning: incorrect type in argument 1 (different address spaces) xsave.c:135:15: expected void const volatile [noderef] * [...] Signed-off-by: Mathias Krause Cc: Suresh Siddha Link: http://lkml.kernel.org/r/1346621506-30857-6-git-send-email-minipli@googlemail.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed