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)
Wed, Jan 8, 8:06 PM
Unknown Object (File)
Oct 28 2024, 3:42 PM
Unknown Object (File)
Oct 1 2024, 4:06 AM
Unknown Object (File)
Sep 26 2024, 2:10 PM
Unknown Object (File)
Sep 24 2024, 2:51 AM
Unknown Object (File)
Aug 18 2024, 7:42 PM
Unknown Object (File)
Aug 13 2024, 5:22 PM
Unknown Object (File)
May 27 2024, 4:15 AM
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.