Page MenuHomeFreeBSD

stand: Add devformat to return formatted string for a device
ClosedPublic

Authored by imp on Jul 25 2022, 8:32 PM.
Tags
None
Referenced Files
F161373742: D35916.id108512.diff
Fri, Jul 3, 6:01 AM
F161358645: D35916.id108525.diff
Fri, Jul 3, 3:29 AM
F161320852: D35916.id.diff
Thu, Jul 2, 7:11 PM
F161315767: D35916.id108654.diff
Thu, Jul 2, 5:46 PM
F161303748: D35916.diff
Thu, Jul 2, 2:45 PM
Unknown Object (File)
Wed, Jun 24, 4:07 AM
Unknown Object (File)
Sun, Jun 14, 3:12 AM
Unknown Object (File)
Sun, Jun 14, 1:25 AM
Subscribers

Details

Summary

Use dv_fmtdev to return a formatted string for a device. If this is a
null pointer, return the device name and unit followed by a colon (eg
disk3:).

Sponsored by: Netflix

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46647
Build 43536: arc lint + arc unit

Event Timeline

imp requested review of this revision.Jul 25 2022, 8:32 PM
tsoome added inline comments.
stand/libsa/dev.c
65

cstyle tells us: Test pointers against NULL

This revision is now accepted and ready to land.Jul 25 2022, 10:33 PM
This revision now requires review to proceed.Jul 25 2022, 10:45 PM
This revision was not accepted when it landed; it landed in state Needs Review.Aug 11 2022, 4:28 PM
This revision was automatically updated to reflect the committed changes.