HomeFreeBSD

MFC r312228: Make `camcontrol cmd ... -i ...` return only valid bytes.

Description

MFC r312228: Make camcontrol cmd ... -i ... return only valid bytes.

Previously code ignored resid field and returned extra zeroes in case of
data underflow. Now it returns only real bytes received from target.

Details

Provenance
mavAuthored on
Parents
rS312949: Correct the IT instruction in atomic_fcmpset_64().
Branches
Unknown
Tags
Unknown