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.
Tags
None
Referenced Files
Unknown Object (File)
Mar 4 2025, 10:50 PM
Unknown Object (File)
Feb 22 2025, 12:55 AM
Unknown Object (File)
Feb 20 2025, 11:28 PM
Unknown Object (File)
Feb 5 2025, 4:59 AM
Unknown Object (File)
Feb 4 2025, 2:41 AM
Unknown Object (File)
Jan 28 2025, 11:54 PM
Unknown Object (File)
Jan 8 2025, 8:06 PM
Unknown Object (File)
Oct 28 2024, 3:42 PM
Subscribers
None

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
rG FreeBSD src repository
Lint
Lint Skipped
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.