Search Linux Wireless

Re: [PATCH 2/2] wifi: ath9k: use unsigned long for activity check timestamp

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

 



On 1/16/2025 3:20 AM, Kalle Valo wrote:
> Dmitry Antipov <dmantipov@xxxxxxxxx> writes:
> 
>> 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.
>>
>> Fixes: b5f871ab4913 ("wifi: ath9k: Add RX inactivity detection and reset chip when it occurs")
>> Signed-off-by: Dmitry Antipov <dmantipov@xxxxxxxxx>
> 
> I don't think this should have a Fixes either. Jeff, can you remove
> these during commit?
> 
ACK




[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