[dpdk-dev] [virtio-net-pmd PATCH 08/16] pmd: fix initialization of Tx queue header

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Mar 27 10:34:38 CET 2014


> > A typo was found by gcc-4.8:
> > virtio_user.c:744:15: error: argument to 'sizeof' in 'memset' call is the
> > same expression as the destination; did you mean to dereference it?
> > [-Werror=sizeof-pointer-memaccess]
> > 
> >           sizeof(tq->tx_hdrs[sz - 1].header));
> >           
> >                 ^
> > 
> > Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
> 
> Reviewed-by: Olivier Matz <olivier.matz at 6wind.com>

Applied, thanks

-- 
Thomas


More information about the dev mailing list