Page MenuHomeFreeBSD

acpi_spmc(4): Factor out printing DSM call error, delineate function
ClosedPublic

Authored by olce on Mon, May 4, 8:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 27, 12:41 AM
Unknown Object (File)
Tue, May 26, 2:10 PM
Unknown Object (File)
Tue, May 26, 2:05 PM
Unknown Object (File)
Tue, May 26, 7:18 AM
Unknown Object (File)
Tue, May 26, 7:10 AM
Unknown Object (File)
Mon, May 25, 8:10 PM
Unknown Object (File)
Mon, May 25, 8:05 PM
Unknown Object (File)
Mon, May 25, 6:40 PM
Subscribers

Details

Summary

Introduce failed_to_call_dsm(), which prepends "function" before the
function index for better clarity. For now, it prints the function
number, as before, but will soon print a human-readable name.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

olce requested review of this revision.Mon, May 4, 8:30 PM
This revision is now accepted and ready to land.Thu, May 7, 2:35 AM
  • Take the softc instead of the device.
  • Remove passing the caller's name (does not give much more information, since apart from retrieving the constraints, all other calls are through the same function; and a later revision prints the DSM function's name, which is much more meaningful).
This revision now requires review to proceed.Thu, May 7, 7:44 PM
This revision is now accepted and ready to land.Sun, May 10, 7:56 AM

Impacts of change in D56803, no real change.

This revision now requires review to proceed.Tue, May 12, 1:27 PM
This revision is now accepted and ready to land.Tue, May 12, 2:04 PM