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:
Huihuang Shi
2018-07-05 09:06:03 +08:00
committed by lijinxia
parent d3ad411c91
commit 96372ed09c
14 changed files with 123 additions and 123 deletions

View File

@@ -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;