Page MenuHomeFreeBSD

stand: Change disk_fmtdev to take a struct devdesc *
ClosedPublic

Authored by imp on Jul 25 2022, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 7, 8:07 AM
Unknown Object (File)
Sat, Apr 4, 5:00 AM
Unknown Object (File)
Fri, Apr 3, 1:20 AM
Unknown Object (File)
Mon, Mar 30, 1:09 PM
Unknown Object (File)
Sun, Mar 29, 9:25 PM
Unknown Object (File)
Feb 28 2026, 6:00 AM
Unknown Object (File)
Feb 27 2026, 9:58 PM
Unknown Object (File)
Feb 19 2026, 2:48 AM
Subscribers

Details

Summary

We do a number of games with ploymorphism for different types struct
*devdesc. Change the parameter to take a struct devdesc * to match other
dv_devfmt functions in the system.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

stand/common/disk.h
119

I know it is a bit like documenting, but other prototypes just do show the type.

imp retitled this revision from stand: Change disk_fmtdev to take a void * to stand: Change disk_fmtdev to take a struct devdesc *.Jul 28 2022, 4:54 PM
imp edited the summary of this revision. (Show Details)

rework to take devdesc instead to match dv_devfmt

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.