Re: [PATCH 1/8] of/irq: Fix wrong value of variable @len in of_irq_parse_imap_parent()
From: Zijun Hu
Date: Tue Dec 10 2024 - 05:52:10 EST
On 2024/12/10 04:56, Rob Herring wrote:
> Applied, but rewrote the commit message:
>
> of/irq: Fix interrupt-map cell length check in of_irq_parse_imap_parent()
>
> On a malformed interrupt-map property which is shorter than expected by
> 1 cell, we may read bogus data past the end of the property instead of
> returning an error in of_irq_parse_imap_parent().
>
> Decrement the remaining length when skipping over the interrupt parent
> phandle cell.
thank you Rob for these good corrections.