From nobody Sat Nov 30 19:09:16 2024 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 4Y10311KKhz5fW8Q; Sat, 30 Nov 2024 19:09:17 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y10305mXvz4FmG; Sat, 30 Nov 2024 19:09:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732993756; 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=eIggiy7gtlh1pC+eFB+EiNVuRndIHen8ivQFkafNcRA=; b=mEdV1bw8IjMr03O8i+tIaQenn03ElHJ/ghtizku3FaSjcf06OoLQAB747iU66xyoIIEDSC YCG/mmZFoL0QwmeXSTaKCWioRMzs1zRt48po0ou74x/jRLJQaaCh36jhbANSC0AGvTIHmw zOW9+58aAQzt/zU9PFTsjq4xgBZRzRDNWENQZuIFySrmZk1PH99EyHC5a5DWtcuicjjoKC CDuwe3KZgtm/yvyIYeEaXxQs9Nb23u7C6dYMkCQbNeclT1SBgt3KUupEMKuouD8I9qQGx2 ExIT/x+TrNoKX0bRgN4gXtS0mBQMUAYPQaYzCy42enrhWDwTjH7vwJN8aItLqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732993756; 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=eIggiy7gtlh1pC+eFB+EiNVuRndIHen8ivQFkafNcRA=; b=kik1YaMDImT6LMB9va5bTAMP7tIIHEXDTe1XhK9Y5Lu/E1Omq1D9bz2LMuvVKHNZqur7A4 g/a/e2VTlnivcnP3drCfnBStoSJLC1GyZDbOwwrwWhCBw2RiA3vPdwinO9iIyttRTRWKGn 8kfPzodOZxtwOB7buPz2o97hPyMnHKf5wj+4mdeyWtWbeqpeB4OcscciFEBXHKv/ifeCzg F66dOnxDlDBFaB8WoLAOe1Wr4m6XS1WdcrZ5GSsFc+xBNYfj/2AeiNiHluN65GZgQ2JjTe ZGNopViXkoM9rbZpZv2l9JUP+fAQhauid8s3GZhFOi3NStN5B4kuC+hgZsh0bQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732993756; a=rsa-sha256; cv=none; b=m1Gn6BtSsw3sO+yQmPZs3rPvLwnBIJ4tpH43AeBqi8ha9GuL2c3ronXLNqRYu3ey9wDrFE 062Kf6CdQVWHhyAmYGdXeHVjipEzLVA7/+J37Q5d1yzQ1O4biLrSj8PuEeMTW3whtEWDqp YFea1gTGxxI/s7hlvacHPGK4sCuXabocC4PGAHgiBqKGxrkRSuWmlvlZ+eFGql1FuHrfrG 3O7fKvBWsX8pPUeZZ5kQaigz5Lv/fhRvSiWP/5ebU8Q/4Wtlun4SoojoUBSWd3B8J0ctox rvN5xOFx+ajHkgkn/pH/s7Dm2AErzPnls6HDn/W61m3L0To+dNwOSnKayKHVLA== 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 4Y10305LWhzL3k; Sat, 30 Nov 2024 19:09:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AUJ9G6p097692; Sat, 30 Nov 2024 19:09:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AUJ9Gj7097689; Sat, 30 Nov 2024 19:09:16 GMT (envelope-from git) Date: Sat, 30 Nov 2024 19:09:16 GMT Message-Id: <202411301909.4AUJ9Gj7097689@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 2898e2c7ce10 - stable/13 - qlnx: Fix a couple of type mismatches in function 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 2898e2c7ce10da4f835a119f0b11a8009c63ad7c Auto-Submitted: auto-generated The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2898e2c7ce10da4f835a119f0b11a8009c63ad7c commit 2898e2c7ce10da4f835a119f0b11a8009c63ad7c Author: John Baldwin AuthorDate: 2023-11-15 02:37:06 +0000 Commit: John Baldwin CommitDate: 2024-11-30 19:08:31 +0000 qlnx: Fix a couple of type mismatches in function declarations Reported by: GCC 13 via -Wenum-int-mismatch Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D42586 (cherry picked from commit be909a79a8e2506b49ed81f9bd8115512dd613a4) --- sys/dev/qlnx/qlnxe/ecore_l2.c | 6 ++++-- sys/dev/qlnx/qlnxe/ecore_sriov.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/dev/qlnx/qlnxe/ecore_l2.c b/sys/dev/qlnx/qlnxe/ecore_l2.c index 487b56629009..ee7d225540d0 100644 --- a/sys/dev/qlnx/qlnxe/ecore_l2.c +++ b/sys/dev/qlnx/qlnxe/ecore_l2.c @@ -2240,7 +2240,8 @@ ecore_configure_rfs_ntuple_filter(struct ecore_hwfn *p_hwfn, return ecore_spq_post(p_hwfn, p_ent, OSAL_NULL); } -int ecore_get_rxq_coalesce(struct ecore_hwfn *p_hwfn, +enum _ecore_status_t +ecore_get_rxq_coalesce(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_queue_cid *p_cid, u16 *p_rx_coal) @@ -2275,7 +2276,8 @@ int ecore_get_rxq_coalesce(struct ecore_hwfn *p_hwfn, return ECORE_SUCCESS; } -int ecore_get_txq_coalesce(struct ecore_hwfn *p_hwfn, +enum _ecore_status_t +ecore_get_txq_coalesce(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_queue_cid *p_cid, u16 *p_tx_coal) diff --git a/sys/dev/qlnx/qlnxe/ecore_sriov.c b/sys/dev/qlnx/qlnxe/ecore_sriov.c index 65df523bb83e..e1198f91e497 100644 --- a/sys/dev/qlnx/qlnxe/ecore_sriov.c +++ b/sys/dev/qlnx/qlnxe/ecore_sriov.c @@ -4925,7 +4925,7 @@ bool ecore_iov_is_vf_started(struct ecore_hwfn *p_hwfn, } #endif -enum _ecore_status_t +int ecore_iov_get_vf_min_rate(struct ecore_hwfn *p_hwfn, int vfid) { struct ecore_wfq_data *vf_vp_wfq;