[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [UNIKRAFT PATCH] blkfront_xs.c: Fix warning generated by wrong print specifier



Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx>

On 4/19/20 12:27 PM, Radu Nicolau wrote:
> Signed-off-by: Radu Nicolau <radunicolau102@xxxxxxxxx>
> ---
>  plat/xen/drivers/blk/blkfront_xs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/plat/xen/drivers/blk/blkfront_xs.c 
> b/plat/xen/drivers/blk/blkfront_xs.c
> index e014d90..b455de5 100644
> --- a/plat/xen/drivers/blk/blkfront_xs.c
> +++ b/plat/xen/drivers/blk/blkfront_xs.c
> @@ -75,7 +75,7 @@ static int blkfront_xb_get_nb_max_queues(struct 
> blkfront_dev *dev)
>       xendev = dev->xendev;
>  
>       err = xs_scanf(XBT_NIL, xendev->otherend, "multi-queue-max-queues",
> -                             "%"PRIu16,
> +                             "%"SCNu16,
>                               &dev->nb_queues);
>       if (err < 0) {
>               uk_pr_err("Failed to read multi-queue-max-queues: %d\n", err);
> 



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.