hv: Fix minor coding style warnings

This patch fixes a minor warning introduced by commit 3c9c41b. No logic
changes.

Tracked-On: #6776
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
This commit is contained in:
Yifan Liu 2021-11-29 23:34:38 +00:00 committed by wenlingz
parent 8530a32c4b
commit 21615ee2f3
1 changed files with 2 additions and 2 deletions

View File

@ -1041,8 +1041,8 @@ void launch_vms(uint16_t pcpu_id)
for (vm_id = 0U; vm_id < CONFIG_MAX_VM_NUM; vm_id++) {
vm_config = get_vm_config(vm_id);
if ((vm_config->guest_flags & GUEST_FLAG_REE) != 0U &&
(vm_config->guest_flags & GUEST_FLAG_TEE) != 0U) {
if (((vm_config->guest_flags & GUEST_FLAG_REE) != 0U) &&
((vm_config->guest_flags & GUEST_FLAG_TEE) != 0U)) {
ASSERT(false, "%s: Wrong VM (VM id: %u) configuration, can't set both REE and TEE flags",
__func__, vm_id);
}