From nobody Wed Jan 03 17:50:08 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 4T4y0x1ZCBz56MHY; Wed, 3 Jan 2024 17:50:09 +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 4T4y0x0w97z4rvq; Wed, 3 Jan 2024 17:50:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704304209; 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=aBq6cr7bKIzWDHc4sRHCFHc/0Zk2GGaMZYaYBHHXdwM=; b=Ks+21rPgVKjccDyTSY+asWrn1fDJevgbHRLCmmnoWcxown05XCVJAsTvDtCqZuPPSzqqPF sqIAAGtWdZnu3kb6KwMerMxdtDjegqz21jCcHp+VyBKOtY2xBoMBrZrOp3Fn1yWdG19BZi 8kz7d7zlWWywSu6NL1pdd1fRMkH967jLojVJuyD6cxSHPRQCLpVC9abcOLrTRHjYexFfqP aveLGCHBN8RO9u5sLJjs8Rh7OURenGEBfkD0InokmaCK28+kRgAKKs9MskQ69WUi7/ssi7 lFc7qtSDFkg7I2w8EusW91wxXeSuu76k9JfaO54MvADeediqCGzJLfdJFyeRVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704304209; 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=aBq6cr7bKIzWDHc4sRHCFHc/0Zk2GGaMZYaYBHHXdwM=; b=RJ58B8gzZALrsyMqxgldju2hVjRu+2gmcrKhRJLvDx6trgvZO/rhwxvo6PVzI2gNi3kN9t WwIbPj44RFqeczRvHfJCWiqOomxx1RHEO0b3VEa37m/D+P7BVqXY58hcz4q2jF4QKUIR7s BBtqmadOIqttZyPjW7xPreEHBszZ3OlOWzzydi1+ZBeYpZJ8ylpYwK6qDGCKqNgHQk1mz3 0nSvxCbmjqiFEjj1Emo8KOoEjJMayDNkf5kAJ2skbZiC5yovSY1TpRnEU3r270RwDy5heI RfYhXaV0NjrkK37AxTh5gogTfXEbaFMrMteP0TxKKhBTcp/A8kT8SHavXqBlTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704304209; a=rsa-sha256; cv=none; b=mfltAcIVCWbD/hSH/TLfSAB4znFtOqrcng7a4PlAcG8xxhaxaIESUKK6G7gAsm1H1nj47K 8Gb8iJ6IWVr1T4GoghqcNxkZ32imtRdYuXUUdAXyhEK9Y4jA5dgR8zjJ+R1tyjfn4Cw8x2 BQBTkaJKPELtXdTVqUoOaudw/InbcWnrC7pJcshxnu11kzKZf0ME1Jsk6cXg2QoEgMam1X BU3n1PqN5XOlSOTq5xeL2BpZ63EyJfZJI9CjFmVUMW2Xxrl52V/IR+WjFcwZ8KzUKJG3XK Oxy0UwoSVWtL62v1UxOwfvSKn0j2JN4NnNwLspP7yiLLDGmSXENgxx/l7qZDRg== 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 4T4y0w71lQzv0s; Wed, 3 Jan 2024 17:50:08 +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 403Ho8hZ038663; Wed, 3 Jan 2024 17:50:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 403Ho853038659; Wed, 3 Jan 2024 17:50:08 GMT (envelope-from git) Date: Wed, 3 Jan 2024 17:50:08 GMT Message-Id: <202401031750.403Ho853038659@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: df8d325b8d62 - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: df8d325b8d62863368702289264f8fc016699fd1 Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=df8d325b8d62863368702289264f8fc016699fd1 commit df8d325b8d62863368702289264f8fc016699fd1 Author: John Baldwin AuthorDate: 2023-11-15 02:36:48 +0000 Commit: John Baldwin CommitDate: 2024-01-03 17:43: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 (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 186b04b8b129..cfb9d4f8f536 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;