Search Linux Wireless

re: ath9k: reduce baseband hang detection false positive rate

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

 



Hello Felix Fietkau,

The patch d31a36a6d87f: "ath9k: reduce baseband hang detection false
positive rate" from Feb 24, 2014, leads to the following static
checker warning:

	drivers/net/wireless/ath/ath9k/hw.c:1563 ath9k_hw_check_alive()
	info: ignoring unreachable code.

drivers/net/wireless/ath/ath9k/hw.c
  1545          do {
  1546                  reg = REG_READ(ah, AR_OBS_BUS_1);
  1547                  if (reg != last_val)
  1548                          return true;
  1549  
  1550                  last_val = reg;
  1551                  if ((reg & 0x7E7FFFEF) == 0x00702400)
  1552                          continue;
  1553  
  1554                  switch (reg & 0x7E000B00) {
  1555                  case 0x1E000000:
  1556                  case 0x52000B00:
  1557                  case 0x18000B00:
  1558                          continue;
  1559                  default:
  1560                          return true;
  1561                  }
  1562  
  1563                  udelay(1);
                        ^^^^^^^^^
We never hit this recently added delay.

  1564          } while (count-- > 0);

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux