From nobody Sat Nov 30 19:09:14 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 4Y102z25sBz5fVwZ; Sat, 30 Nov 2024 19:09:15 +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 4Y102y4h0Pz4Flm; Sat, 30 Nov 2024 19:09:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732993754; 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=RixbowPZz9wjz/Dbl8ScH2Ydet9cF1YKWXl0+po/Pes=; b=FsABe1Uy7l3P6Y2g3TDEZJQ75ZZclEmjL5RD6mmxm+/mbCuuLmr/MEbwa06GuV/hCNj9ID NJBbH/GzQQtIg6b19VAQIBGPT7zhVUbaLW1ZTUQRswpA9J7ypk8MuV8shCUzoxTMt4gTd4 CzX5Tp4xDB5IMPqjvXf4g9pE71DgaosKbyB4uO0Ny0FOC5FhIJC69I3hmjFwwcEGzWa3SB vA0lH/CfRJwDCaRF28SfUo9Q5aANYU4oZXQvDW8HM5UK2JKqk3rihQwaLpDC3wguDX6kli a0i3/8I9P7nKFci9KN2rcmhGQMtj67R0CDrVplbE92cDsncp40dgT084gdxx1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732993754; 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=RixbowPZz9wjz/Dbl8ScH2Ydet9cF1YKWXl0+po/Pes=; b=oCgPsg9FaFxJNMoO78ggQaRY72wV0dzTy4GwN6qOHkp7HnmFNGs0soi6/WdqYpJLPtvlAJ fnwklvoEN5T7FDj5bF3WNHkWVfjN8p0WQkOyOEsXygg54Se8dlZUfVJpZjNWeUhg9ICM0w sYNH+tkITPV20eTf2wlgNkq5rKD++dbUGyp1RljrigO3HGZ2Ay8wxT+8xrV3MtPjBpyDDt sccv6NhK2RuIZRnDU3mJCEQIu2fn4ycGm5aodx2/X0HkUMmHvUeu6eYpLPbwLIMmWgghOr RJCpK7lNlG0agIq6jK+i2YpbXi4lSvU7geAI4QPe8CB31MkIV//RMDO9J18OUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732993754; a=rsa-sha256; cv=none; b=SbFIVi6STo1ItO9OcuHxUQ4ugbZNHJdyq9jonIzIuKSMVmIxQC0cyvONlIrJnoE7o2VLq2 qt7wRBeJ+YiuwQLZrv019rJwMpHSl2VJ0qWGzSRjwWay3N3lfLwTfauwrVtek6CGnvbCgw rmbwlDfVYlmslMGdN0sTTiAD2VqQW+AnOBVqvWaMzEQ0/JQ/grxCsC4f19EDWj1HuDSdjt i1iYJp0qddTseR1laiXkaXxC7OcIYekr13G//y6z+GyJFnUljMI3W6HquCbgFIDCSHD3L+ 4C8H57JJXFri/xsuE7UBxjlahHxPkDXUUfQrhlGisSdCeHtoPcHcymS4ugkoEg== 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 4Y102y3l0RzKsX; Sat, 30 Nov 2024 19:09:14 +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 4AUJ9EmR097572; Sat, 30 Nov 2024 19:09:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AUJ9ERc097569; Sat, 30 Nov 2024 19:09:14 GMT (envelope-from git) Date: Sat, 30 Nov 2024 19:09:14 GMT Message-Id: <202411301909.4AUJ9ERc097569@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: a612e0607e52 - stable/13 - ocs: Fix a couple of type mismatches in function prototypes 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: a612e0607e52a0ed9d7e15e6e18e8dc6ac1bec7a Auto-Submitted: auto-generated The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=a612e0607e52a0ed9d7e15e6e18e8dc6ac1bec7a commit a612e0607e52a0ed9d7e15e6e18e8dc6ac1bec7a Author: John Baldwin AuthorDate: 2023-11-15 02:36:48 +0000 Commit: John Baldwin CommitDate: 2024-11-30 19:04:54 +0000 ocs: Fix a couple of type mismatches in function prototypes Reported by: GCC 13 via -Wenum-int-mismatch Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D42585 (cherry picked from commit 7aa5b2a9e7f5f3cd33e72cb1e95790fe7637f10f) --- sys/dev/ocs_fc/ocs_hw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/ocs_fc/ocs_hw.c b/sys/dev/ocs_fc/ocs_hw.c index a437342bd0d0..62ef3cd49be3 100644 --- a/sys/dev/ocs_fc/ocs_hw.c +++ b/sys/dev/ocs_fc/ocs_hw.c @@ -7759,7 +7759,7 @@ ocs_hw_get_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *a * context. * - OCS_HW_RTN_ERROR on any other error. */ -int32_t +ocs_hw_rtn_e ocs_hw_get_active_profile(ocs_hw_t *hw, ocs_get_active_profile_cb_t cb, void* ul_arg) { uint8_t *mbxdata; @@ -7856,7 +7856,7 @@ ocs_hw_get_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) * context. * - OCS_HW_RTN_ERROR on any other error. */ -int32_t +ocs_hw_rtn_e ocs_hw_get_nvparms(ocs_hw_t *hw, ocs_get_nvparms_cb_t cb, void* ul_arg) { uint8_t *mbxdata; @@ -7953,7 +7953,7 @@ ocs_hw_set_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) * context. * - OCS_HW_RTN_ERROR on any other error. */ -int32_t +ocs_hw_rtn_e ocs_hw_set_nvparms(ocs_hw_t *hw, ocs_set_nvparms_cb_t cb, uint8_t *wwpn, uint8_t *wwnn, uint8_t hard_alpa, uint32_t preferred_d_id, void* ul_arg) { @@ -8118,7 +8118,7 @@ ocs_hw_set_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *a * context. * - OCS_HW_RTN_ERROR on any other error. */ -int32_t +ocs_hw_rtn_e ocs_hw_set_active_profile(ocs_hw_t *hw, ocs_set_active_profile_cb_t cb, uint32_t profile_id, void* ul_arg) { uint8_t *mbxdata;