Re: [PATCH v2] irqchip/gic-v3-its: Fix double free on error
From: Guanrui Huang
Date: Thu Apr 11 2024 - 07:58:18 EST
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