Search Linux Wireless

Re: [PATCH v1] wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation

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

 



Toke Høiland-Jørgensen <toke@xxxxxxx> writes:

> Simon Horman <simon.horman@xxxxxxxxxxxx> writes:
>
>>> -	for (i = 0; i < NUM_STATUS_READS; i++) {
>>> -		if (queue < 6)
>>> -			dma_dbg_chain = REG_READ(ah, AR_DMADBG_4);
>>> -		else
>>> -			dma_dbg_chain = REG_READ(ah, AR_DMADBG_5);
>>> +	if (queue < 6) {
>>> +		dbg_reg = AR_DMADBG_4;
>>> +		reg_offset = i * 5;
>>
>> Hi Peter,
>>
>> unless my eyes are deceiving me, i is not initialised here.
>
> Nice catch! Hmm, I wonder why my test compile didn't complain about
> that? Or maybe it did and I overlooked it? Anyway, Kalle, I already
> delegated this patch to you in patchwork, so please drop it 

Ok, will drop.

> and I'll try to do better on reviewing the next one :)

No worries, reviewing is hard and things always slip past. But great
that we now have more people reviewing, thanks Simon for catching this.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

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




[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