Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > The channel is not possibly 0, so original code is fine. Still want to > avoid Coverity warning, so ensure -32 offset for the channel number which > is larger than 125 only. Actually, don't change logic at all. > > Addresses-Coverity-ID: 1628150 ("Overflowed constant") > > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> 2 patch(es) applied to rtw-next branch of rtw.git, thanks. b6c10a193637 wifi: rtw89: 8852c: rfk: refine target channel calculation in _rx_dck_channel_calc() 5fdf5e557f06 wifi: rtw89: 8851b: rfk: remove unnecessary assignment of return value of _dpk_dgain_read() --- https://github.com/pkshih/rtw.git