From nobody Tue Apr 25 18:02:54 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q5VGR2mBXz46WNr; Tue, 25 Apr 2023 18:02:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q5VGR0qh0z4CvC; Tue, 25 Apr 2023 18:02:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682445775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4+bSdNZwo7Pzt1aHLfccUVVQ9AFiqaOHI+03QTAEX3s=; b=TvbMLIivB1XvUzkAFtGfRL7liZXcyjXD9Ol2KCGLIYsNRM+CBmL8mejODVSHUTtsJhSuhV bC20FKb3do4JT0amL8JhAxqaER1aMNZh6DQmVh+8iGanmw3wrH8MgCFCFll7A3nF6byAwj zUpVZ+iw4z8eXOkUtk0YD00ShC2nFrB9PNBaaJUCS4KZ6F20EvlAl5mJHz9Sn3+xa95boq /qC3/MyKxIvknMBOvHNpkO/cnT+qqA9x5qguKODxPMqVEEBTteCmAYHVOX95rV4qGhZYYg il+U8WY/+LEIgrVdTKZqUyqIq6bOtBQWa8SsI36D+NW2UDYoKffbWW2Pyhd5Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682445775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4+bSdNZwo7Pzt1aHLfccUVVQ9AFiqaOHI+03QTAEX3s=; b=QC+EZjHtiSAg2kvoEYw9Gtik/QgW0X+u74Az9ebZy9RigIG8r/diXJFPdAZe2fmPqm/Dkb u8bQRUjMXcEsrfX63PUJfdj4QRkgKdK5i+f60HFYIJs1OVAOt5byQ5eFXMHXJ1V6jn7xGI eYLzq5cZNXhcAH2drApr+NG2uwH817CM7c1COSl6KYx0Q6DwZEzWNm8SL5Y+NpT3mkBHIH PSoaPNwpg2rfH5TP0D3K1Zz9CeYJGCDHRfhwmQhzjQ73vgIlooEzE7RUWCrRzIIwxPMroh iK+NcBdOj0zCfwXIs6TX2NGS+pMNMtD/kEO4U0APtjUyMD9YXzkPmNqRysn2Aw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682445775; a=rsa-sha256; cv=none; b=Le0NglxyJnHVVV0qBxBoQO326Qfqv0JCGzeiTXqj6/09zy0rawcvevRZOKgIIWJHp+oKpM nugzoW70LIq4ImT1DqGJ/arpTUL99CLw2JC7iyoN8BHDJy1xn6JmGCqzLpgtaQRUp7+sEh c3NNrPciibfPL6Z/sQfU7UC+QWdgpUZlQer0U05aaMOWJ2wsKsnQacGzFoYhjDkWozQX7w HSMWR38U0HCn3jDlJ1i5Vzd09wDcfN2oP83ZS48hgm2YhP8ylVs1C93q7xKIyyRiViWnrj B4S0wnU5O/58/4RfoP8O6o89LlPwkL17EUbQhyD0rZj/9GD0WKY+RaVK6Us4lw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q5VGQ72m3z1H0v; Tue, 25 Apr 2023 18:02:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33PI2sgD095799; Tue, 25 Apr 2023 18:02:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33PI2sTR095798; Tue, 25 Apr 2023 18:02:54 GMT (envelope-from git) Date: Tue, 25 Apr 2023 18:02:54 GMT Message-Id: <202304251802.33PI2sTR095798@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: 9ea31d78f00d - main - al_eth: make function definitions consistent with declarations List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9ea31d78f00d23612f3ab44d83265f8039f487af Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=9ea31d78f00d23612f3ab44d83265f8039f487af commit 9ea31d78f00d23612f3ab44d83265f8039f487af Author: Dimitry Andric AuthorDate: 2023-04-22 11:45:57 +0000 Commit: Dimitry Andric 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;