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

Re: [Xen-devel] [PATCH 1/2] xenbus_client: extend interface to suppurt multi-page ring



On Fri, Jan 23, 2015 at 06:14:30PM +0800, Bob Liu wrote:
[...]
>       rv = xenbus_alloc_evtchn(dev, &priv->evtchn);
>       if (rv)
> diff --git a/drivers/net/xen-netback/netback.c 
> b/drivers/net/xen-netback/netback.c
> index 908e65e..8513764 100644
> --- a/drivers/net/xen-netback/netback.c
> +++ b/drivers/net/xen-netback/netback.c
> @@ -1955,7 +1955,7 @@ int xenvif_map_frontend_rings(struct xenvif_queue 
> *queue,
>       int err = -ENOMEM;
>  
>       err = xenbus_map_ring_valloc(xenvif_to_xenbus_device(queue->vif),
> -                                  tx_ring_ref, &addr);
> +                             &tx_ring_ref, 1, &addr);
>       if (err)
>               goto err;
>  
> @@ -1963,7 +1963,7 @@ int xenvif_map_frontend_rings(struct xenvif_queue 
> *queue,
>       BACK_RING_INIT(&queue->tx, txs, PAGE_SIZE);
>  
>       err = xenbus_map_ring_valloc(xenvif_to_xenbus_device(queue->vif),
> -                                  rx_ring_ref, &addr);
> +                             &rx_ring_ref, 1, &addr);

With my netback maintainer hat on, indentation here looks wrong. Not
sure if this is my fault when writing the original patch, but it would
be good if you fix them in next posting. :-)

Thanks
Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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