Re: [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]



On Mon, Oct 11, 2021 at 02:12:41PM -0500, Rob Herring wrote:
> 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>

Applied, thanks.

> ---
>  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,

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


[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