Skip to content

Commit 4ef96d4

Browse files
Jiri Slaby (SUSE)rafaeljw
authored andcommitted
ACPI: resource: note more about IRQ override
Use an exclamation mark to note which of the properties was overridden. Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent bfcdf58 commit 4ef96d4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

drivers/acpi/resource.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,11 @@ static void acpi_dev_get_irqresource(struct resource *res, u32 gsi,
512512
u8 pol = p ? ACPI_ACTIVE_LOW : ACPI_ACTIVE_HIGH;
513513

514514
if (triggering != trig || polarity != pol) {
515-
pr_warn("ACPI: IRQ %d override to %s, %s\n", gsi,
516-
t ? "level" : "edge", p ? "low" : "high");
515+
pr_warn("ACPI: IRQ %d override to %s%s, %s%s\n", gsi,
516+
t ? "level" : "edge",
517+
trig == triggering ? "" : "(!)",
518+
p ? "low" : "high",
519+
pol == polarity ? "" : "(!)");
517520
triggering = trig;
518521
polarity = pol;
519522
}

0 commit comments

Comments
 (0)