HomeFreeBSD

smbios: Unmap memory on error on identify

Description

smbios: Unmap memory on error on identify

While here, de-indent most of the code by simply bailing out if 'addr'
is still 0 after the various detection methods have been tried.

Reviewed by: emaste, imp
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49180

(cherry picked from commit 67d510f0c07afd89e51e337e5abec47f4483ecd9)

Details

Provenance
olceAuthored on Feb 28 2025, 5:19 PM
Reviewer
emaste
Differential Revision
D49180: smbios: Unmap memory on error on identify
Parents
rG5e385079d3f7: smbios: On attach, print the entry point version and revision
Branches
Unknown
Tags
Unknown