powerpc/kvm: Clarify __user annotations
authorDaniel Axtens <dja@axtens.net>
Tue, 12 Jul 2016 00:54:48 +0000 (10:54 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 14 Jul 2016 10:43:50 +0000 (20:43 +1000)
commitf8750513b7001d5ae96313d4e19f782b56f1beb7
tree2e56e50d46ab437bed115b6e3bf0df3a1ff5bc68
parentc011926fcbeb9565599f278148b91e536a07b68a
powerpc/kvm: Clarify __user annotations

kvmppc_h_put_tce_indirect labels a u64 pointer as __user. It also
labelled the u64 where get_user puts the result as __user. This isn't
a pointer and so doesn't need to be labelled __user.

Split the u64 value definition onto a new line to make it clear that
it doesn't get the annotation.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kvm/book3s_64_vio.c