HomeFreeBSD

device_get_path(): handle case when dev is root

Description

device_get_path(): handle case when dev is root

PR: 266862
Based on submission by: takawata
Reviewed by: jhb, takawata
Disscussed with: imp
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D36899

Details

Provenance
kibAuthored on Oct 6 2022, 7:46 PM
Reviewer
jhb
Differential Revision
D36899: Better handling of nexus and errors for DEV_GET_PATH
Parents
rGd9c5a9ea498a: device_get_path(): do not drop the error from BUS_GET_DEVICE_PATH()
Branches
Unknown
Tags
Unknown