x86: two trivial sparse annotations

Impact: fewer sparse warnings, no functional changes

arch/x86/kernel/vsmp_64.c:87:14: warning: incorrect type in argument 1 (different address spaces)
arch/x86/kernel/vsmp_64.c:87:14: expected void const volatile [noderef] <asn:2>*addr
arch/x86/kernel/vsmp_64.c:87:14: got void *[assigned] address
arch/x86/kernel/vsmp_64.c:88:22: warning: incorrect type in argument 1 (different address spaces)
arch/x86/kernel/vsmp_64.c:88:22: expected void const volatile [noderef] <asn:2>*addr
arch/x86/kernel/vsmp_64.c:88:22: got void *
arch/x86/kernel/vsmp_64.c:100:23: warning: incorrect type in argument 2 (different address spaces)
arch/x86/kernel/vsmp_64.c:100:23: expected void volatile [noderef] <asn:2>*addr
arch/x86/kernel/vsmp_64.c:100:23: got void *
arch/x86/kernel/vsmp_64.c:101:23: warning: incorrect type in argument 1 (different address spaces)
arch/x86/kernel/vsmp_64.c:101:23: expected void const volatile [noderef] <asn:2>*addr
arch/x86/kernel/vsmp_64.c:101:23: got void *
arch/x86/mm/gup.c:235:6: warning: incorrect type in argument 1 (different base types)
arch/x86/mm/gup.c:235:6: expected void const volatile [noderef] <asn:1>*<noident>
arch/x86/mm/gup.c:235:6: got unsigned long [unsigned] [assigned] start

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by Harvey Harrison and committed by Ingo Molnar 9352f569 f96f57d9

+2 -2
+1 -1
arch/x86/kernel/vsmp_64.c
··· 78 78 79 79 static void __init set_vsmp_pv_ops(void) 80 80 { 81 - void *address; 81 + void __iomem *address; 82 82 unsigned int cap, ctl, cfg; 83 83 84 84 /* set vSMP magic bits to indicate vSMP capable kernel */
+1 -1
arch/x86/mm/gup.c
··· 233 233 len = (unsigned long) nr_pages << PAGE_SHIFT; 234 234 end = start + len; 235 235 if (unlikely(!access_ok(write ? VERIFY_WRITE : VERIFY_READ, 236 - start, len))) 236 + (void __user *)start, len))) 237 237 goto slow_irqon; 238 238 239 239 /*