[PATCH v2 1/5] checks: Make interrupt_provider check dependent on interrupts_extended_is_cell

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

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

Cc: Andre Przywara <andre.przywara@xxxxxxx>
Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
 checks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks.c b/checks.c
index fb3fc9cda4b1..8153793a3e7d 100644
--- a/checks.c
+++ b/checks.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,

[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux