mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 23:57:10 +00:00
HV: Logical conjunction needs brackets
The bracket is required when the level of precedence of the operators is less than 13. Add the bracket to logical conjunctions. The commit applys the rule to the files under Signed-off-by: Yang, Yu-chu <yu-chu.yang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -183,7 +183,7 @@ static void *get_acpi_tbl(const char *sig)
|
||||
|
||||
rsdp = (struct acpi_table_rsdp *)global_rsdp;
|
||||
|
||||
if (rsdp->revision >= 2 && (rsdp->xsdt_physical_address != 0U)) {
|
||||
if ((rsdp->revision >= 2) && (rsdp->xsdt_physical_address != 0U)) {
|
||||
/*
|
||||
* AcpiOsGetRootPointer only verifies the checksum for
|
||||
* the version 1.0 portion of the RSDP. Version 2.0 has
|
||||
|
||||
Reference in New Issue
Block a user