Page MenuHomeFreeBSD

al_eth: make function definitions consistent with declarations
ClosedPublic

Authored by dim on Apr 22 2023, 12:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 21, 10:20 PM
Unknown Object (File)
Sun, Sep 13, 3:21 AM
Unknown Object (File)
Fri, Sep 11, 7:44 PM
Unknown Object (File)
Fri, Sep 11, 5:02 AM
Unknown Object (File)
Fri, Sep 11, 4:59 AM
Unknown Object (File)
Aug 16 2026, 1:45 AM
Unknown Object (File)
Aug 13 2026, 8:52 PM
Unknown Object (File)
Aug 10 2026, 7:55 AM
Subscribers

Details

Summary

The declarations for al_eth_lm_retimer_ds25_signal_detect() and
al_eth_lm_retimer_ds25_cdr_lock() say that these functions return
'al_bool', but the definitions actually return 'boolean_t'.

Make the definitions match the declarations.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 51119
Build 48010: arc lint + arc unit

Event Timeline

dim requested review of this revision.Apr 22 2023, 12:03 PM
emaste added a subscriber: mw.

OK, although we may want to either just use int to match struct al_eth_lm_retimer, or change struct al_eth_lm_retimer to al_bool as well.

This revision is now accepted and ready to land.Apr 24 2023, 1:50 PM

Or just replace al_bool with C99 bool, but that can be done in a future change.