Su Hui <suhui@xxxxxxxxxxxx> wrote: > There are many same functions like _rtl88e_phy_calculate_bit_shift(), > _rtl92c_phy_calculate_bit_shift() and so on. And these functions can > cause undefined bitwise shift behavior. Add calculate_bit_shift() to > replace them and fix undefined behavior in subsequent patches. > > Signed-off-by: Su Hui <suhui@xxxxxxxxxxxx> > Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> 11 patches applied to wireless-next.git, thanks. 52221dfddbbf wifi: rtlwifi: add calculate_bit_shift() acefef7a7e7a wifi: rtlwifi: rtl8821ae: phy: using calculate_bit_shift() 969bc926f04b wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift() 1dedc3a6699d wifi: rtlwifi: rtl8192c: using calculate_bit_shift() f4088c8fcbab wifi: rtlwifi: rtl8192cu: using calculate_bit_shift() 3d03e8231031 wifi: rtlwifi: rtl8192ce: using calculate_bit_shift() b8b2baad2e65 wifi: rtlwifi: rtl8192de: using calculate_bit_shift() 63526897fc0d wifi: rtlwifi: rtl8192ee: using calculate_bit_shift() ac32b9317063 wifi: rtlwifi: rtl8192se: using calculate_bit_shift() 98d9c7731dbb wifi: rtlwifi: rtl8723_common: using calculate_bit_shift() 5c16618bc06a wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231219065739.1895666-2-suhui@xxxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches