Re: [PATCH v5 2/2] irqchip/gic-v3-its: remove BUG_ON in its_vpe_irq_domain_alloc

From: Zenghui Yu
Date: Thu Apr 18 2024 - 02:57:19 EST


On 2024/4/18 14:10, Guanrui Huang wrote:
This BUG_ON() is useless, because the same effect will be obtained
by letting the code run its course and vm being dereferenced,
triggering an exception.

So just remove this check.

Acked-by: Marc Zyngier <maz@xxxxxxxxxx>
Signed-off-by: Guanrui Huang <guanrui.huang@xxxxxxxxxxxxxxxxx>

Reviewed-by: Zenghui Yu <yuzenghui@xxxxxxxxxx>