HomeFreeBSD

fdc(4): Handle errors from fdc_in() properly.

Description

fdc(4): Handle errors from fdc_in() properly.

fdc_in() returns only 0 and 1, some callers were checking incorrectly
for failure.

PR: 248940
Submitted by: Tong Zhang <ztong0001@gmail.com>
MFC after: 1 week

Details

Provenance
markjAuthored on
Parents
rS364871: asmc(4): Handle errors from asmc_key_read() properly.
Branches
Unknown
Tags
Unknown