Page MenuHomeFreeBSD

devinfo sysctl handler: Do not write zero-length strings in to sbuf twice
ClosedPublic

Authored by wulf on Jan 20 2021, 10:38 PM.

Details

Reviewers
imp
Summary

This fixes missing PnPinfo and location strings in devinfo output for
devices with no assigned drivers.

Test Plan

run devinfo -v and check PnPinfo and location strings of any child of ACPI bus which do not have a assigned driver.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

wulf requested review of this revision.Jan 20 2021, 10:38 PM
wulf created this revision.
This revision is now accepted and ready to land.Jan 20 2021, 10:55 PM

Committed as e3dd8ed77b4e7d8fda12ec80b91d89e8460b64f8. I forgot to add tags to commit message to close this review automatically.