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