Fix KASSERT statements in if_wpi_debug.h
PR: kern/197143 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
This commit is contained in:
parent
b625a56aae
commit
205cb272ea
@ -90,7 +90,6 @@ static const char *wpi_cmd_str(int cmd)
|
||||
WPI_DESC(WPI_CMD_BT_COEX);
|
||||
|
||||
default:
|
||||
KASSERT(1, ("Unknown Command: %d\n", cmd));
|
||||
return "UNKNOWN CMD";
|
||||
}
|
||||
}
|
||||
@ -117,7 +116,7 @@ static const char *wpi_get_csr_string(int csr)
|
||||
WPI_DESC(WPI_ANA_PLL);
|
||||
WPI_DESC(WPI_DBG_HPET_MEM);
|
||||
default:
|
||||
KASSERT(1, ("Unknown CSR: %d\n", csr));
|
||||
KASSERT(0, ("Unknown CSR: %d\n", csr));
|
||||
return "UNKNOWN CSR";
|
||||
}
|
||||
}
|
||||
@ -130,7 +129,7 @@ static const char *wpi_get_prph_string(int prph)
|
||||
WPI_DESC(WPI_APMG_PCI_STT);
|
||||
WPI_DESC(WPI_APMG_RFKILL);
|
||||
default:
|
||||
KASSERT(1, ("Unknown register: %d\n", prph));
|
||||
KASSERT(0, ("Unknown register: %d\n", prph));
|
||||
return "UNKNOWN PRPH";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user