diff options
author | Joshua M. Clulow <josh@sysmgr.org> | 2021-08-11 16:22:50 -0700 |
---|---|---|
committer | Joshua M. Clulow <josh@sysmgr.org> | 2021-08-11 16:22:50 -0700 |
commit | f2047739583ce5779dd354aec92a3f683e1d1014 (patch) | |
tree | 64ef7a2641cb832867cca9b1c969be2d988e1abf /usr/src/uts | |
parent | e9fe7b359091f8e565041c286948edcb4e1e96f6 (diff) | |
download | illumos-gate-f2047739583ce5779dd354aec92a3f683e1d1014.tar.gz |
14012 vioif simply cannot without SMBIOS
Reviewed by: Andy Fiddaman <andy@omnios.org>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src/uts')
-rw-r--r-- | usr/src/uts/common/io/vioif/vioif.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/vioif/vioif.c b/usr/src/uts/common/io/vioif/vioif.c index 368af5381d..ae1e2d4ee2 100644 --- a/usr/src/uts/common/io/vioif/vioif.c +++ b/usr/src/uts/common/io/vioif/vioif.c @@ -1909,7 +1909,8 @@ vioif_select_interrupt_types(void) return (vioif_allowed_int_types); } - if ((id = smbios_info_system(ksmbios, &sys)) == SMB_ERR || + if (ksmbios == NULL || + (id = smbios_info_system(ksmbios, &sys)) == SMB_ERR || smbios_info_common(ksmbios, id, &info) == SMB_ERR) { /* * The system may not have valid SMBIOS data, so ignore a |