On Mon, Sep 24, 2018 at 02:00:01PM +0100, Andrew Cooper wrote:
> For at least "gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609", the
> typecast of buf triggers a Variable Length Array warning.
> 
> Alter the asm expression to avoid the typecast, which necessitates the
> introduction of a memory clobber as the compiler can no longer identify
> the total quantity of written memory.
> 
> Despite the memory clobber, there is no change to the generated.

generated assembly code?

> 
> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>

Reviewed-by: Wei Liu <wei.l...@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to