diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2025-01-15 20:17:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-20 10:22:29 +0200 |
commit | ee2e500b142608e53e8f85997d4991c3d372aabb (patch) | |
tree | f982574323e1c6d8d7efe98cb9d62914fac47726 /net/core/page_pool_user.c | |
parent | 021d7d503ddd8e4b0f828c49a2228269fcd9f37f (diff) |
wifi: ath9k: use unsigned long for activity check timestamp
[ Upstream commit 8fe64b0fedcb7348080529c46c71ae23f60c9d3e ]
Since 'rx_active_check_time' of 'struct ath_softc' is in jiffies,
prefer 'unsigned long' over 'u32' to avoid possible truncation in
'ath_hw_rx_inactive_check()'. Found with clang's -Wshorten-64-to-32,
compile tested only.
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20250115171750.259917-2-dmantipov@yandex.ru
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/core/page_pool_user.c')
0 files changed, 0 insertions, 0 deletions