Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2236d13a authored by Guanrui Huang's avatar Guanrui Huang Committed by Vegard Nossum
Browse files

irqchip/gic-v3-its: Remove BUG_ON in its_vpe_irq_domain_alloc



[ Upstream commit 382d2ffe86efb1e2fa803d2cf17e5bfc34e574f3 ]

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.

Signed-off-by: default avatarGuanrui Huang <guanrui.huang@linux.alibaba.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarZenghui Yu <yuzenghui@huawei.com>
Acked-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240418061053.96803-3-guanrui.huang@linux.alibaba.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
(cherry picked from commit 139510ec274c7cc8739bb8f63aed70e425c2f0d8)
[Vegard: fix conflict in context due to missing commit
 38dd7c494cf604879e187e9b56690d25f876cf69 ("irqchip/gic-v3-its: Drop
 chunk allocation compatibility").]
Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
parent a4dc7b3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment