Kalle Valo <kvalo@xxxxxxxxxx> wrote: > Sparse warns: > > drivers/net/wireless/ath/ath12k/dp.c:1471:15: warning: memset with byte count of 278528 > > There's no need to use memset() here, instead call dma_alloc_coherent() with __GFP_ZERO. > > While at it, remove an extra line before the error handler. > > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 28013c356296 wifi: ath12k: remove memset with byte count of 278528 -- https://patchwork.kernel.org/project/linux-wireless/patch/20230222164014.860-1-kvalo@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches