diff options
author | Robert Hoo <robert.hu@linux.intel.com> | 2022-09-22 20:21:52 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-11-02 06:56:31 -0400 |
commit | 63bb20d669dc21174f11ab1620f6ac52679cde54 (patch) | |
tree | 44b9457863ba1a1235494dfdecf5361cb970107e /subprojects | |
parent | 0ecc4e91614fde87ad916008cd5c33420fd76dbd (diff) | |
download | qemu-63bb20d669dc21174f11ab1620f6ac52679cde54.zip qemu-63bb20d669dc21174f11ab1620f6ac52679cde54.tar.gz qemu-63bb20d669dc21174f11ab1620f6ac52679cde54.tar.bz2 |
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 'subprojects')
0 files changed, 0 insertions, 0 deletions