Search Linux Wireless

Re: [PATCH] wifi: ath12k: remove memset with byte count of 278528

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux