Files
linux/drivers/net
Su Hui 52221dfddb wifi: rtlwifi: add calculate_bit_shift()
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@nfschina.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20231219065739.1895666-2-suhui@nfschina.com
2023-12-21 16:40:16 +02:00
..
2023-10-17 12:45:03 +02:00
2023-11-13 11:09:20 +00:00
2023-11-19 19:48:25 +00:00
2023-10-26 15:21:09 +02:00
2023-12-13 12:49:05 +00:00
2023-10-17 17:44:51 -07:00