Thread (13 messages) flat view 13 messages, 4 authors, 2016-07-04

Re: [PATCH 1/6] powerpc/kvm: Clarify __user annotations

From: Andrew Donnellan <hidden>
Date: 2016-07-04 07:26:16

On 04/07/16 17:09, Daniel Axtens wrote:
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 <redacted>
Reviewed-by: Andrew Donnellan <redacted>

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan@au1.ibm.com  IBM Australia Limited
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help