git: 9ea31d78f00d - main - al_eth: make function definitions consistent with declarations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Apr 2023 18:02:54 UTC
The branch main has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=9ea31d78f00d23612f3ab44d83265f8039f487af
commit 9ea31d78f00d23612f3ab44d83265f8039f487af
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-04-22 11:45:57 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-04-25 18:02:04 +0000
al_eth: make function definitions consistent with declarations
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.
Reviewed by: jhb, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D39759
---
sys/dev/al_eth/al_init_eth_lm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/al_eth/al_init_eth_lm.c b/sys/dev/al_eth/al_init_eth_lm.c
index 12c9b0917ef0..5caea40e3bf7 100644
--- a/sys/dev/al_eth/al_init_eth_lm.c
+++ b/sys/dev/al_eth/al_init_eth_lm.c
@@ -848,7 +848,7 @@ config_error:
return rc;
}
-static boolean_t al_eth_lm_retimer_ds25_signal_detect(struct al_eth_lm_context *lm_context,
+static al_bool al_eth_lm_retimer_ds25_signal_detect(struct al_eth_lm_context *lm_context,
uint32_t channel)
{
int rc = 0;
@@ -878,7 +878,7 @@ config_error:
return FALSE;
}
-static boolean_t al_eth_lm_retimer_ds25_cdr_lock(struct al_eth_lm_context *lm_context,
+static al_bool al_eth_lm_retimer_ds25_cdr_lock(struct al_eth_lm_context *lm_context,
uint32_t channel)
{
int rc = 0;