diff options
author | Toomas Soome <tsoome@me.com> | 2019-01-19 09:36:49 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-04-10 08:58:44 +0300 |
commit | 4dae08142020c6a787edca246244aa744a986710 (patch) | |
tree | 88ae8c4d52c66da6cc705a036fdeeb7d9c2bafc1 /usr/src/uts/intel/io/ipmi/ipmi_main.c | |
parent | 4138d84ec424020fc615b6aa351408e1efb98a38 (diff) | |
download | illumos-joyent-4dae08142020c6a787edca246244aa744a986710.tar.gz |
10667 ipmi: NULL pointer errors
Reviewed by: Gergő Doma <domag02@gmail.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/intel/io/ipmi/ipmi_main.c')
-rw-r--r-- | usr/src/uts/intel/io/ipmi/ipmi_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/intel/io/ipmi/ipmi_main.c b/usr/src/uts/intel/io/ipmi/ipmi_main.c index 1879564149..8b25829d2b 100644 --- a/usr/src/uts/intel/io/ipmi/ipmi_main.c +++ b/usr/src/uts/intel/io/ipmi/ipmi_main.c @@ -89,7 +89,7 @@ get_smbios_ipmi_info(void) * it is not installed. In this case we see 0x0 as the base address. * If we see this address, assume the device is not really present. */ - if (ipmi.smbip_addr == NULL) { + if (ipmi.smbip_addr == 0) { cmn_err(CE_WARN, "!SMBIOS: Invalid base address"); return (DDI_FAILURE); } |