diff options
author | Su Hui <suhui@nfschina.com> | 2023-12-19 09:57:29 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-12-21 17:40:16 +0300 |
commit | 52221dfddbbfb5b4e029bb2efe9bb7da33ec1e46 (patch) | |
tree | 91d8311cdbea209b3a6b633ae6f1ba6cddd09279 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 28a197af3fcbb47195d94cd6e612d9338aac9345 (diff) | |
download | linux-52221dfddbbfb5b4e029bb2efe9bb7da33ec1e46.tar.xz |
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions