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
Reviewer
imp
Differential Revision
D14063: Use C errno as return value for cam_periph_acquire()
Parents
rS328917: Correct structure name used in bus_map_resource(9) example
Branches
Unknown
Tags
Unknown