HomeFreeBSD

bhyve: Let BASL compile with raised warnings

Description

bhyve: Let BASL compile with raised warnings

  • Make basl_dump() as unused.
  • Avoid arithmetic on a void pointer.
  • Avoid a signed/unsigned comparison with BASL_TABLE_CHECKSUM_LEN_FULL_TABLE.
  • Ignore warnings about unused parameters from stuff pulled in by acpi.h. In particular, any prototype wrapped by ACPI_DBG_DEPENDENT_RETURN_VOID() will raise such parameters unless ACPI_DEBUG_OUTPUT is defined.

Reviewed by: corvink, jhb
Differential Revision: https://reviews.freebsd.org/D37397

(cherry picked from commit c127c61efa4d8414be9a7373b50c7f348b6e461e)

Details

Provenance
markjAuthored on Nov 18 2022, 7:07 PM
jhbCommitted on Jan 26 2023, 8:07 PM
Reviewer
corvink
Differential Revision
D37397: bhyve: Let BASL compile with raised warnings
Parents
rGc8a6e51a4f86: bhyve: Avoid using a packed struct for xhci port registers
Branches
Unknown
Tags
Unknown