[...] > > + > > + 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) > > { > > ...
Attachment:
signature.asc
Description: PGP signature