All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/5] checks: Make interrupt_provider check dependent on interrupts_extended_is_cell
@ 2021-10-11 19:12 Rob Herring
       [not found] ` <20211011191245.1009682-1-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Rob Herring @ 2021-10-11 19:12 UTC (permalink / raw)
  To: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA, David Gibson; +Cc: Andre Przywara

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

Cc: Andre Przywara <andre.przywara-5wv7dgnIgG8@public.gmane.org>
Signed-off-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
---
 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,
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-10-15 19:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 19:12 [PATCH v2 1/5] checks: Make interrupt_provider check dependent on interrupts_extended_is_cell Rob Herring
     [not found] ` <20211011191245.1009682-1-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2021-10-11 19:12   ` [PATCH v2 2/5] checks: Add an interrupt-map check Rob Herring
     [not found]     ` <20211011191245.1009682-2-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2021-10-14  3:44       ` David Gibson
2021-10-11 19:12   ` [PATCH v2 3/5] checks: Drop interrupt provider '#address-cells' check Rob Herring
     [not found]     ` <20211011191245.1009682-3-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2021-10-14  3:45       ` David Gibson
2021-10-11 19:12   ` [PATCH v2 4/5] checks: Ensure '#interrupt-cells' only exists in interrupt providers Rob Herring
     [not found]     ` <20211011191245.1009682-4-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2021-10-14  3:46       ` David Gibson
2021-10-15 18:43         ` Rob Herring
     [not found]           ` <CAL_JsqLT3FKtaFxTmWU=Y5_D=EyP=L_Aouij2Qw7MKOJ+RY-HQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-10-15 19:28             ` Rob Herring
2021-10-11 19:12   ` [PATCH v2 5/5] checks: Add a sanity check for #.*-cells property value Rob Herring
     [not found]     ` <20211011191245.1009682-5-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2021-10-14  3:50       ` David Gibson
2021-10-14  3:41   ` [PATCH v2 1/5] checks: Make interrupt_provider check dependent on interrupts_extended_is_cell David Gibson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.