HomeFreeBSD

stand: Change disk_fmtdev to take a struct devdesc *

Description

stand: Change disk_fmtdev to take a struct devdesc *

We do a number of games with ploymorphism for different types struct
*devdesc. Adjust one place that this affects to take the address of the
base class (most others have void * at the moment). This is more type
safe than a bare void *.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D35914

(cherry picked from commit c32dde3166922f55927764464d13f1bc9640f5f6)

Details

Provenance
impAuthored on Aug 11 2022, 3:04 PM
Differential Revision
D35914: stand: Change disk_fmtdev to take a struct devdesc *
Parents
rGcffdb3f5e2da: stand: Move i386_devdesc to a union
Branches
Unknown
Tags
Unknown