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

Zenghui Yu yuzenghui at huawei.com
Wed Apr 17 23:56:59 PDT 2024


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 at kernel.org>
> Signed-off-by: Guanrui Huang <guanrui.huang at linux.alibaba.com>

Reviewed-by: Zenghui Yu <yuzenghui at huawei.com>



More information about the linux-arm-kernel mailing list