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