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
F107656646: D35914.id.diff
Fri, Jan 17, 6:34 AM
F107656634: D35914.id109179.diff
Fri, Jan 17, 6:33 AM
F107656624: D35914.id108651.diff
Fri, Jan 17, 6:33 AM
F107656620: D35914.id108510.diff
Fri, Jan 17, 6:33 AM
Unknown Object (File)
Fri, Jan 17, 3:27 AM
Unknown Object (File)
Thu, Jan 9, 10:53 PM
Unknown Object (File)
Nov 16 2024, 11:03 AM
Unknown Object (File)
Nov 16 2024, 10:52 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

stand/common/disk.h
118–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.