Re: [Xen-devel] [PATCH] x86: fix asm() constraint in clear_user()

2016-12-19 Thread Andrew Cooper
On 19/12/16 16:44, Jan Beulich wrote: > Commit 2fdf5b2554 ("x86: streamline copying to/from user memory") > wrongly used "g" here, when it obviously needs to be a register. > > Reported-by: Andrew Cooper > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper __

[Xen-devel] [PATCH] x86: fix asm() constraint in clear_user()

2016-12-19 Thread Jan Beulich
Commit 2fdf5b2554 ("x86: streamline copying to/from user memory") wrongly used "g" here, when it obviously needs to be a register. Reported-by: Andrew Cooper Signed-off-by: Jan Beulich --- a/xen/arch/x86/usercopy.c +++ b/xen/arch/x86/usercopy.c @@ -141,7 +141,7 @@ unsigned clear_user(void __use