mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 23:57:10 +00:00
ASSERT/panic are called when we get invalid values. It is a little bit strict. This patch replaces ASSERT/panic with pr_err and return -EINVAL. v1 -> v2: - v1 patch name (HV: instr_emul: Remove unnecessary check in decode_xxx) - keep the check and replace ASSERT/panic with pr_err. Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>