mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 05:49:17 +00:00
HV:misc:add suffix U to the numeric constant
Add suffix U to the numeric constant Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -117,11 +117,11 @@ biosacpi_search_rsdp(char *base, int length)
|
||||
if (strncmp(rsdp->signature, ACPI_SIG_RSDP,
|
||||
strnlen_s(ACPI_SIG_RSDP, 8)) == 0) {
|
||||
cp = (uint8_t *)rsdp;
|
||||
sum = 0;
|
||||
sum = NULL;
|
||||
for (idx = 0; idx < RSDP_CHECKSUM_LENGTH; idx++)
|
||||
sum += *(cp + idx);
|
||||
|
||||
if (sum != 0)
|
||||
if (sum != NULL)
|
||||
continue;
|
||||
|
||||
return rsdp;
|
||||
|
Reference in New Issue
Block a user