2023-10-09 06:57:06

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] wifi: rtlwifi: use unsigned long for bt_coexist_8723 timestamp

Dmitry Antipov <[email protected]> wrote:

> Since 'bt_inq_page_start_time' of 'struct bt_coexist_8723' is
> in jiffies, prefer 'unsigned long' over 'u32' to avoid possible
> truncation in 'rtl8723e_dm_bt_inq_page_monitor()' and adjust
> related code. Found with clang's -Wshorten-64-to-32, compile
> tested only.
>
> Signed-off-by: Dmitry Antipov <[email protected]>
> Acked-by: Ping-Ke Shih <[email protected]>

Patch applied to wireless-next.git, thanks.

71ffa1bcd7a0 wifi: rtlwifi: use unsigned long for bt_coexist_8723 timestamp

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches