summary refs log tree commit diff stats
path: root/backends/cryptodev-vhost-user.c
diff options
context:
space:
mode:
authorRobert Hoo <robert.hu@linux.intel.com>2022-09-22 20:21:52 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-11-02 06:56:31 -0400
commit63bb20d669dc21174f11ab1620f6ac52679cde54 (patch)
tree44b9457863ba1a1235494dfdecf5361cb970107e /backends/cryptodev-vhost-user.c
parent0ecc4e91614fde87ad916008cd5c33420fd76dbd (diff)
downloadfocaccia-qemu-63bb20d669dc21174f11ab1620f6ac52679cde54.tar.gz
focaccia-qemu-63bb20d669dc21174f11ab1620f6ac52679cde54.zip
acpi/ssdt: Fix aml_or() and aml_and() in if clause
In If condition, using bitwise and/or, rather than logical and/or.

The result change in AML code:

If (((Local6 == Zero) | (Arg0 != Local0)))
==>
If (((Local6 == Zero) || (Arg0 != Local0)))

If (((ObjectType (Arg3) == 0x04) & (SizeOf (Arg3) == One)))
==>
If (((ObjectType (Arg3) == 0x04) && (SizeOf (Arg3) == One)))

Fixes: 90623ebf603 ("nvdimm acpi: check UUID")
Fixes: 4568c948066 ("nvdimm acpi: save arg3 of _DSM method")
Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
Reviewed-by: Jingqi Liu <jingqi.liu@intel.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220922122155.1326543-3-robert.hu@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'backends/cryptodev-vhost-user.c')
0 files changed, 0 insertions, 0 deletions