From nobody Wed Nov 15 02:37:49 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 4SVS4t2Bgnz50XLQ; Wed, 15 Nov 2023 02:37:50 +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 4SVS4t1TYTz4Xn7; Wed, 15 Nov 2023 02:37:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700015870; 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=AxWWEMynh88BOV1MMKwrlrDhWqzx/sE2lNc7BUCKbFc=; b=cRqpflpz3GPrCrefmxx3k3MvSdF2kd9rj6DCrxg+s0CSE8Coi/DPCNGThUDK0Dk0Oib1nj 0K/kuY10LWxlltEmqFTJcZ4xrML5UW3zTIgngSOu6MrcDnPDrq8Kg9adx1X0qGnVTjlshD N477y9oOSZqVAVO5UgzK9fKXFv8FbscPAN48ZKTrl56uFbCuO+ZyExFvVwWvqkiKqB5CLO EW42u/fX846ExgLvT2ntBz9Bco2BsMKZDic7QmCs+40e7d9iFR8gPPIol0fZ8NkXRKEv79 t8wRkFEutZREqNsxRvnL8VQaWZ28XIVEPEUNwaCGEJLf6JgC8rjIpFGeix5SEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700015870; 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=AxWWEMynh88BOV1MMKwrlrDhWqzx/sE2lNc7BUCKbFc=; b=ongpqje8qKS9eg1HR/AyWz9DZaBNZzOPISk4K+QWiMpJkwqBP0PyTnYBlTTiYb0Ne2qVNF 57XM91SePGTt+8YCZFaeFeIaZoxrZcV1N69Emfq6WAj1RuVD/6Rtd687qMQmZhV1O694K4 BM76t+/Bqr0U2I7Kh+wXAqLRJK7Zip17jdXRZRT0qW0a0Vde0/ZJl1aPV8TLNNRzNKCBkg I+KYV+BkFVeT9m8LKzwYUp5gv9UdpU/+mxGkIR3jKwlwcLw4EZl6QjCkNaKJhCv5H+OyAi 0wjl+b//tYdzyICOFs4KPtArUZrJZOgCHsZPuJ5tTKWHv721gb784WhiwOpH/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700015870; a=rsa-sha256; cv=none; b=vWu3maAKif3NXQQYF3uuaodgo3xy/GDU0b4mCN9mzdCMm2FAnoouowABsZMA5EI6hYh4H6 6HvDyJw/RZJcM+XT8EHVlm8lyHlNquOWjnnOXTW8zOKhO7MfS8dnT+HR7SWZEb66vdO7Fz TG4LA5JpNWZe5XZXrbA1nFe7d9Ra7Q5Gm478vhiwXh2Z7Vbviki0pefg3Q7P+M88c7mtpS kaOY2XFVIFaFKzclGj0ZLWx5kkDAtOPc5MqYwNTeobeBfZd6sClrlg2a6Pq16xIMeuuf1/ GLqMDb6b9mOQ8VrLpJSdhD7iRcNdvrTwMInnijhnmDzBi3f33Y3uvQk5rB094Q== 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 4SVS4t0ZrFz1DL0; Wed, 15 Nov 2023 02:37:50 +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 3AF2bnxd010000; Wed, 15 Nov 2023 02:37:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AF2bndA009997; Wed, 15 Nov 2023 02:37:49 GMT (envelope-from git) Date: Wed, 15 Nov 2023 02:37:49 GMT Message-Id: <202311150237.3AF2bndA009997@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 7aa5b2a9e7f5 - main - 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: 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7aa5b2a9e7f5f3cd33e72cb1e95790fe7637f10f Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=7aa5b2a9e7f5f3cd33e72cb1e95790fe7637f10f commit 7aa5b2a9e7f5f3cd33e72cb1e95790fe7637f10f Author: John Baldwin AuthorDate: 2023-11-15 02:36:48 +0000 Commit: John Baldwin CommitDate: 2023-11-15 02:36:48 +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 --- 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 097228d12bfb..4db6634d3d90 100644 --- a/sys/dev/ocs_fc/ocs_hw.c +++ b/sys/dev/ocs_fc/ocs_hw.c @@ -7740,7 +7740,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; @@ -7837,7 +7837,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; @@ -7934,7 +7934,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) { @@ -8099,7 +8099,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;