Skip to content

Commit

Permalink
10667 ipmi: NULL pointer errors
Browse files Browse the repository at this point in the history
Reviewed by: Gergő Doma <domag02@gmail.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
  • Loading branch information
tsoome committed Apr 10, 2019
1 parent 4138d84 commit 4dae081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/uts/intel/io/ipmi/ipmi_main.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4dae081

Please sign in to comment.