diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2020-03-13 11:24:09 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2020-03-13 11:24:09 +0000 |
commit | 7e2a00efe240b326a184e01b87d73c18421ce847 (patch) | |
tree | 8c1512867193ec498ed4ce4b3c0f68c3b427d869 /usr | |
parent | 07aeaa33bb72df6246298fc89da0e07543977973 (diff) | |
parent | 95bb2cef100e6d3ce201012b6e4b677106e44751 (diff) | |
download | illumos-joyent-7e2a00efe240b326a184e01b87d73c18421ce847.tar.gz |
[illumos-gate merge]
commit 95bb2cef100e6d3ce201012b6e4b677106e44751
12376 i86xpv/unix: 'rsdp' may be used uninitialized in this function
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/uts/i86pc/os/fakebop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/os/fakebop.c b/usr/src/uts/i86pc/os/fakebop.c index f2c25c1402..aee332aaf4 100644 --- a/usr/src/uts/i86pc/os/fakebop.c +++ b/usr/src/uts/i86pc/os/fakebop.c @@ -2926,8 +2926,10 @@ build_firmware_properties(struct xboot_info *xbp) tp = find_fw_table(rsdp, ACPI_SIG_MCFG); #else /* __xpv */ enumerate_xen_cpus(); - if (DOMAIN_IS_INITDOMAIN(xen_info)) + if (DOMAIN_IS_INITDOMAIN(xen_info)) { + rsdp = find_rsdp(xbp); tp = find_fw_table(rsdp, ACPI_SIG_MCFG); + } #endif /* __xpv */ if (tp != NULL) process_mcfg((ACPI_TABLE_MCFG *)tp); |