Re: [PATCH] wifi: rtlwifi: use unsigned long for rtl_bssid_entry timestamp
From: Kalle Valo <kvalo@kernel.org>
Date: 2023-10-03 11:44:19
From: Kalle Valo <kvalo@kernel.org>
Date: 2023-10-03 11:44:19
Dmitry Antipov [off-list ref] wrote:
Since 'age' of 'struct rtl_bssid_entry' is in jiffies, prefer 'unsigned long' over 'u32' to avoid possible truncation in 'rtl_collect_scan_list()' and thus weird result in 'rtl_scan_list_expire()'. Compile tested only. Signed-off-by: Dmitry Antipov <redacted> Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Patch applied to wireless-next.git, thanks. f0fb62e090bd wifi: rtlwifi: use unsigned long for rtl_bssid_entry timestamp -- https://patchwork.kernel.org/project/linux-wireless/patch/20230929154524.222498-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches