Created attachment 217563 [details] 0001-dev-fdc-fix-error-code-handling fdc_in() can only return 0(success) and 1(error), however the caller is checking using <0
A commit references this bug: Author: markj Date: Thu Aug 27 16:34:34 UTC 2020 New revision: 364872 URL: https://svnweb.freebsd.org/changeset/base/364872 Log: 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 Changes: head/sys/dev/fdc/fdc.c
A commit references this bug: Author: markj Date: Thu Sep 3 13:57:21 UTC 2020 New revision: 365301 URL: https://svnweb.freebsd.org/changeset/base/365301 Log: MFC r364872: fdc(4): Handle errors from fdc_in() properly. PR: 248940 Changes: _U stable/12/ stable/12/sys/dev/fdc/fdc.c