HomeFreeBSD

Return a C errno for cam_periph_acquire().

Description

Return a C errno for cam_periph_acquire().

There's no compelling reason to return a cam_status type for this
function and doing so only creates confusion with normal C
coding practices. It's technically an API change, but the periph API
isn't widely used. No efffective change to operation.

Reviewed by: imp, mav, ken
Sponsored by: Netflix
Differential Revision: D14063

Details

Provenance
scottlAuthored on Feb 6 2018, 6:42 AM
Parents
rG87dda4ed5d3d: Correct structure name used in bus_map_resource(9) example
Branches
Unknown
Tags
Unknown