Page MenuHomeFreeBSD

D56807.id177397.diff
No OneTemporary

D56807.id177397.diff

diff --git a/sys/dev/acpica/acpi_spmc.c b/sys/dev/acpica/acpi_spmc.c
--- a/sys/dev/acpica/acpi_spmc.c
+++ b/sys/dev/acpica/acpi_spmc.c
@@ -485,8 +485,7 @@
ACPI_OBJECT *detail;
ACPI_OBJECT *constraint_package;
- KASSERT(sc->constraints_populated == false,
- ("constraints already populated"));
+ KASSERT(!sc->constraints_populated, ("Constraints already populated"));
sc->constraint_count = object->Package.Count;
sc->constraints = malloc(sc->constraint_count * sizeof *sc->constraints,
@@ -547,8 +546,7 @@
struct acpi_spmc_constraint *constraint;
ACPI_OBJECT *name_obj;
- KASSERT(sc->constraints_populated == false,
- ("constraints already populated"));
+ KASSERT(!sc->constraints_populated, ("Constraints already populated"));
/*
* First element in the package is unknown.
@@ -657,7 +655,7 @@
{
bool violation = false;
- KASSERT(sc->constraints_populated, ("constraints not populated"));
+ KASSERT(sc->constraints_populated, ("Constraints not populated"));
for (size_t i = 0; i < sc->constraint_count; i++) {
struct acpi_spmc_constraint *constraint = &sc->constraints[i];

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 23, 9:08 AM (2 h, 54 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32776385
Default Alt Text
D56807.id177397.diff (1 KB)

Event Timeline