From nobody Wed Jan 03 17:50:11 2024 X-Original-To: dev-commits-src-branches@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 4T4y0z3pT8z56Mgl; Wed, 3 Jan 2024 17:50:11 +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 4T4y0z266qz4rnM; Wed, 3 Jan 2024 17:50:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704304211; 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=YyxWeVp2mwrjjeo6EuDy1iDaY3pXQUL2Yqm832VTasc=; b=CZ+wEHNt/8hTg4GnX04sx9G1RVogOE0bPYB9DI/Z088N97t0AAKSU2NyCHrsAzEGxIrJI/ gvczvZIx9kkhwM4vw3ICB08o3CgL2FHYFQPh5JtWkotP5Pxd6WYbGT+0PTYxgWYjEkdWw8 YLp3ff+itE9PJL9+GFAAihb2xiLyWp1E0P0zW1b0+2zU3BhcH3Zi5w7hbTKtJ1x1r5vVEE V0r8hC48nI3Vxp0gKT1oaYplYNcXJdpLFF8vchnkLR+YfsKikosTr6rROlENcji7RKQunF 5TaINxBQCAZlqoqbzm2hqoRm1UbkoWkBkR0+MKFDyBeI5nRIX7BIKE/VyQJg/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704304211; 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=YyxWeVp2mwrjjeo6EuDy1iDaY3pXQUL2Yqm832VTasc=; b=gaIJQ99MnWrWLk5KkP+85k/fz8VYO2fIDLO+4vVLhv/xgsqsrlQj3TU64SNCSioYUiwir4 uxynuAhR7SaQzz6wwt8cHw8PlUtR5x5U4UxZ0e5DtUY9o+xbLBiiZOUktmfGGLzYwbS1X9 D/qlPZ15SniLZ2blvr2ohDkk79omBBYYZcWsMSKX6H3rtNsxUWf160wz5UzPpFPMzsOVTP H6G+JOhif7wDq6oM8Dv4Yg1NQMPMkKGiLcMBcOR905Cj4D2UuaFEAhNXqcVv7bjOSkrRpR 6v94W19eFoUmM6kZrZmEKks6f0A1Gqc5PudSTezrYuInk49TUi6k88ruUM/+Xw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704304211; a=rsa-sha256; cv=none; b=bBeHXWAzHoi98xcRFYyJJuQzZCPBOxscJsMhoB8VTflmpi5vrd7VbMZBR0r11dexZ5cs03 mrCymrqqRN8Q5SYPz29wOvQFy+9UCYsSkFTS08Wtxv29Uor1kGWhb0bmEYJ7Fq65odzbKg 6LXw50yNN0ZEVXUc+VGrsTQbZ7Y5vTWGTi2ZhQDzz3YpyLyWMimhsxEP5w21pBz31MJ0Vv 6pBFB+RCB9pSXTUAGHpRSp4yZCGV0r1rxlsZj0Zf3e6x77580vRYE/uWWk03SqtGXMWJ5r 7SyzMJgQVpoiprG4UZfpvrQX+GyRBAVstZXkYEughWyiqOZaw3cL7E7mOb6Cgw== 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 4T4y0z1CmPzvLx; Wed, 3 Jan 2024 17:50:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 403HoB9v039937; Wed, 3 Jan 2024 17:50:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 403HoBWB039931; Wed, 3 Jan 2024 17:50:11 GMT (envelope-from git) Date: Wed, 3 Jan 2024 17:50:11 GMT Message-Id: <202401031750.403HoBWB039931@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: bf63f0e7e3ff - stable/14 - qlnx: Fix a couple of type mismatches in function declarations List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/14 X-Git-Reftype: branch X-Git-Commit: bf63f0e7e3ffc07bc9de3601cc1d396417051821 Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=bf63f0e7e3ffc07bc9de3601cc1d396417051821 commit bf63f0e7e3ffc07bc9de3601cc1d396417051821 Author: John Baldwin AuthorDate: 2023-11-15 02:37:06 +0000 Commit: John Baldwin CommitDate: 2024-01-03 17:43:48 +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;