[PATCH v2] irqchip/gic-v3-its: Fix double free on error

Guanrui Huang guanrui.huang at linux.alibaba.com
Thu Apr 11 04:58:05 PDT 2024


if (vm != domain->host_data)

This is just a safety check. It looks unlikely happened.
After all, vm is obtained from the args. If the caller has a bug, can we check here to avoid possible problems that may arise in later code?

Thanks,
Guanrui



More information about the linux-arm-kernel mailing list