stand: Change disk_fmtdev to take a struct devdesc *
authorWarner Losh <imp@FreeBSD.org>
Thu, 11 Aug 2022 15:04:50 +0000 (09:04 -0600)
committerWarner Losh <imp@FreeBSD.org>
Thu, 11 Aug 2022 16:27:15 +0000 (10:27 -0600)
commitc32dde3166922f55927764464d13f1bc9640f5f6
tree8a7424f4342d19d67ab8e82ad3128efdb43a8997
parentf197c0bf3e075286ccea32cd12023f3317474c5a
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
stand/common/disk.c
stand/common/disk.h
stand/libsa/geli/gelidev.c