Search Linux Wireless

Re: [PATCH -next] ath9k: use clamp() in ar9003_aic_cal_post_process()

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

 



Li Zetao <lizetao1@xxxxxxxxxx> wrote:

> When it needs to get a value within a certain interval, using clamp()
> makes the code easier to understand than min(max()).
> 
> Signed-off-by: Li Zetao <lizetao1@xxxxxxxxxx>
> Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>
> Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

1d66430cc9af wifi: ath9k: use clamp() in ar9003_aic_cal_post_process()

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20240830011858.603514-1-lizetao1@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
https://docs.kernel.org/process/submitting-patches.html





[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