Browse Source

checks: Make interrupt_provider check dependent on interrupts_extended_is_cell

If '#interrupt-cells' doesn't pass checks, no reason to run interrupt
provider check.

Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Message-Id: <20211011191245.1009682-1-robh@kernel.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
Rob Herring 3 years ago committed by David Gibson
parent
commit
52a16fd728
  1. 2
      checks.c

2
checks.c

@ -1587,7 +1587,7 @@ static void check_interrupt_provider(struct check *c, @@ -1587,7 +1587,7 @@ static void check_interrupt_provider(struct check *c,
FAIL(c, dti, node,
"Missing #address-cells in interrupt provider");
}
WARNING(interrupt_provider, check_interrupt_provider, NULL);
WARNING(interrupt_provider, check_interrupt_provider, NULL, &interrupts_extended_is_cell);

static void check_interrupts_property(struct check *c,
struct dt_info *dti,

Loading…
Cancel
Save