On Mon, Apr 16, 2018 at 06:32:21PM +0100, Anthony PERARD wrote:
> This patch fix complilation error with #define DEBUG_RECEIVED of the
> macro DEBUG_REPORT_RECEIVED.
> 
>   error: field precision specifier ‘.*’ expects argument of type ‘int’, but 
> argument 9 has type ‘ssize_t {aka long int}’
> 
> Signed-off-by: Anthony PERARD <anthony.per...@citrix.com>

There is no risk of truncation here because prior checks have made sure
rd can't be larger than 4K+1.

Acked-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