Re: [PATCH 2/5] virtio-net: Add a virtqueue for control commands from the guest

Alex Williamson
2009-01-14T16:56:57Z

On Wed, 2009-01-14 at 10:15 +0000, Mark McLoughlin wrote:
> On Tue, 2009-01-13 at 14:23 -0700, Alex Williamson wrote:
> > +
> > + ctrl = (void *)elem.out_sg[0].iov_base;
> > + status = (void *)elem.in_sg[elem.in_num - 1].iov_base;
>
> These casts aren't needed - iov_base is a void pointer.

Thanks

Alex

--
Alex Williamson HP Open Source & Linux Org.