[PATCH net-next 13/15] net: ethernet: mtk_wed: introduce hw_rro support for MT7988

Lorenzo Bianconi lorenzo at kernel.org
Mon Sep 18 00:54:20 PDT 2023


[...]
> > +
> > +			buf += MTK_WED_PAGE_BUF_SIZE;
> 
> clang-16 W=1 warns that buf is set but otherwise unused in this function.

Hi Simon,

ack, I will fix it.

Regards,
Lorenzo

> 
> > +			buf_phys += MTK_WED_PAGE_BUF_SIZE;
> > +		}
> > +
> > +		dma_sync_single_for_device(dev->hw->dev, page_phys, PAGE_SIZE,
> > +					   DMA_BIDIRECTIONAL);
> > +	}
> > +
> > +	return 0;
> > +}
> > +
> >  static int
> >  mtk_wed_rx_buffer_alloc(struct mtk_wed_device *dev)
> >  {
> 
> ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20230918/94014637/attachment.sig>


More information about the Linux-mediatek mailing list