diff options
| author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-02-05 12:55:26 +0000 |
|---|---|---|
| committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-02-05 12:55:26 +0000 |
| commit | fc7d1728f1b98070dfbbebfbb53b62279b33cfe2 (patch) | |
| tree | b241cde02240844b32b3c2b84b1b5bdd5f117448 /usr/src/cmd/acpi/acpidump/osillumostbl.c | |
| parent | b156585baf970b2e42dc1e9dc920784b85983ab1 (diff) | |
| parent | a6f5e66afa6ed3ba58a8adebd9096d051e369784 (diff) | |
| download | illumos-joyent-fc7d1728f1b98070dfbbebfbb53b62279b33cfe2.tar.gz | |
[illumos-gate merge]
commit a6f5e66afa6ed3ba58a8adebd9096d051e369784
10341 uts: boot_fb_eraseline_impl() may use uninitialized variable
commit a27563ebf538498a498f296db05c6cde1cd3e782
10332 uts: tem_safe_pix_clear_entire_screen() should use window offset
commit 6eda379352cafb14ed1d54166fe88b67fbefac4d
10315 acpi: NULL pointer errors
commit f642269fe771b10890afea92038f4531cd50cfd9
10313 iconv_modules: NULL pointer errors
commit 8d44205c2de6047b3104694e998664b7a1c527ab
10311 addbadsec: NULL pointer errors
commit de4cec4850ed6a4d4ee96e179e79e02a3d872ea3
10310 auditconfig: NULL pointer errors
commit 332e84f52cdee3d0232bd5ac5306c42177959c96
10309 mkstr: NULL pointer errors
commit 632cbd96e544a0a21f1a1f7ca071b145f379215d
10308 tset: NULL pointer errors
commit edd4c52697927997fb1ce3c2c4c425e5ca3a56d6
10307 chown: NULL pointer errors
commit 5243e3342f14ea9f300eadae1c8524571a933a1b
10305 print: NULL pointer errors
commit 4f6502b6d39d77ac4bfb06b65b8ef1bb89b010ba
10304 sysclass: cast between incompatible function types
commit 2325c4ff7eacda26747f8eb679e86fdaf23a7ff8
10303 audioconvert: ISO C++ forbids declaration of 'main' with no type
commit 941b7e9c849240e1a04a25b32722d30dae557dc3
10302 sed: this statement may fall through
commit b6e3994c8d3dda9030c4b653901b7d478245d3cb
10301 pcifm: cast between incompatible function types
Diffstat (limited to 'usr/src/cmd/acpi/acpidump/osillumostbl.c')
| -rw-r--r-- | usr/src/cmd/acpi/acpidump/osillumostbl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/cmd/acpi/acpidump/osillumostbl.c b/usr/src/cmd/acpi/acpidump/osillumostbl.c index 2ccde61c9c..26fb8d7577 100644 --- a/usr/src/cmd/acpi/acpidump/osillumostbl.c +++ b/usr/src/cmd/acpi/acpidump/osillumostbl.c @@ -444,7 +444,7 @@ OslLoadRsdp(void) try_bios: /* Try to get RSDP from BIOS memory */ - if (Gbl_RsdpBase != NULL) { + if (Gbl_RsdpBase != 0) { physaddr = Gbl_RsdpBase; mapsize = sizeof (ACPI_TABLE_RSDP); } else { @@ -658,7 +658,7 @@ OslListBiosTables(void) } /* Skip NULL entries in RSDT/XSDT */ - if (TableAddress == NULL) { + if (TableAddress == 0) { continue; } @@ -807,7 +807,7 @@ OslGetBiosTable(char *Signature, UINT32 Instance, ACPI_TABLE_HEADER **Table, /* Skip NULL entries in RSDT/XSDT */ - if (TableAddress == NULL) { + if (TableAddress == 0) { continue; } @@ -887,7 +887,7 @@ OslMapTable(ACPI_SIZE Address, char *Signature, ACPI_TABLE_HEADER **Table) ACPI_TABLE_HEADER *MappedTable; UINT32 Length; - if (Address == NULL) { + if (Address == 0) { return (AE_BAD_ADDRESS); } |
