Search Linux Wireless

RE: [PATCH] wifi: rtlwifi: use unsigned long for bt_coexist_8723 timestamp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Dmitry Antipov <dmantipov@xxxxxxxxx>
> Sent: Wednesday, October 4, 2023 5:24 PM
> To: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
> Cc: Kalle Valo <kvalo@xxxxxxxxxx>; linux-wireless@xxxxxxxxxxxxxxx; Dmitry Antipov <dmantipov@xxxxxxxxx>
> Subject: [PATCH] wifi: rtlwifi: use unsigned long for bt_coexist_8723 timestamp
> 
> 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 <dmantipov@xxxxxxxxx>

Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux