From nobody Wed Jan 03 17:50:07 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 4T4y0w10NQz56MXq; Wed, 3 Jan 2024 17:50:08 +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 4T4y0w07LLz4rjv; Wed, 3 Jan 2024 17:50:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704304208; 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=GAx8NnArwL3O6y3RyMnGwezKX/An6MmIpFPFxxiTd10=; b=QLpIvG06HGVSfd3vzoVb+O/RUKlw40UHv7rREMDw26GXeVxB4RFtpgMv2ZbxFopgbaRBPo cQXhkpFPQ2OgNMTUJtYJcyom9tfHx5ytjMtNS0ev0k6M1Vyn/2bvbkQZKmT+DZkJKtqiZp +JLRFEcGkFbw1gKZ4CxmWSFRLx2x4htNYN3Z5zA5f8PUwIZ7xC1mGWNlt/jeVrH3osSjWm FRwerxcb3yPiEx8faicSrImP4knPjiKApWlDfsIxy26c8UCNMtq2B7/p5szAfXUPq78aWc m6eNt1IJ9s1+S08mPL6FvPSD3qAHzVVfMqf6ylE7jYTDVoF9xoU7U/uDjORrMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704304208; 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=GAx8NnArwL3O6y3RyMnGwezKX/An6MmIpFPFxxiTd10=; b=uCDsvEfC+V9uKN089FFaJGJykUmtkQf4gT5I91zt6JgRaHNYb+UCRzUJpnVWG8Mk2PVKRc D08DzDiMFTFuZn4dHciNppmaYnuwlarZPmMNL6/+5C6Ps1H6A00zfL0EtbxBXclmUjiyLo QSntCGB7Qzlgv3D3rHkQggvUIK104EOoNzjChSNfjU3d2mvhZCz1QJLJyFVDdITrsYc1BD 2TC33aYqEyT36WK0kCDHwqQEfSNeVHh0NC3p5XcUW4ueFdl35V8KdfP93zAP2sRhyA5x/0 RKtHvRvIIwMzmLduZmUqUclPzlzs5oGt16vXf+Tf5/mr2iUd23XUwbITx+mdEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704304208; a=rsa-sha256; cv=none; b=FT/TK5bpblcIdORzUdltD/HxwXj3dgnvZrZZRTqKY9KVFj+hL1TaZp+oYo8Rgm0XpO4NL0 qmfU7+V9Cxv91KryjATZT5K/N56wX0+nuxgVIy3dg5Ir2y6hMgebMzgDAZfDIdmOKcEON4 d2Jgu4rooctKszC+fDKZPYW1dJWy9u/DoMp6zrKSNeeO+ggzBgdwSbJ6zh2kq5WRsflIlj seicaRpNYkN9kn0ZIFMgqlwZUG9lLb9L3cNGet3rInpWt/VVI60PrLBZTOqScgbfIXFhcO 6XRZce4rI4lUSnCi6Ykp2ReYsy5I2t0mafeZSOk1lumqCF3xa8lBdzcHqIdixw== 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 4T4y0v6M5LzvLw; Wed, 3 Jan 2024 17:50:07 +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 403Ho7g5038375; Wed, 3 Jan 2024 17:50:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 403Ho7ZI038371; Wed, 3 Jan 2024 17:50:07 GMT (envelope-from git) Date: Wed, 3 Jan 2024 17:50:07 GMT Message-Id: <202401031750.403Ho7ZI038371@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: 6a1b9033d81c - stable/14 - ath_hal: 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: 6a1b9033d81c7ea612f8b50a4bbb823721529955 Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=6a1b9033d81c7ea612f8b50a4bbb823721529955 commit 6a1b9033d81c7ea612f8b50a4bbb823721529955 Author: John Baldwin AuthorDate: 2023-11-15 02:36:32 +0000 Commit: John Baldwin CommitDate: 2024-01-03 17:43:48 +0000 ath_hal: 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/D42584 (cherry picked from commit 1e65df68403acac2231dda161fd12e62f888a031) --- sys/dev/ath/ath_hal/ar5210/ar5210.h | 2 +- sys/dev/ath/ath_hal/ar5211/ar5211.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ath/ath_hal/ar5210/ar5210.h b/sys/dev/ath/ath_hal/ar5210/ar5210.h index e3524eda6965..567fea567cba 100644 --- a/sys/dev/ath/ath_hal/ar5210/ar5210.h +++ b/sys/dev/ath/ath_hal/ar5210/ar5210.h @@ -278,7 +278,7 @@ extern HAL_BOOL ar5210SetKeyCacheEntry(struct ath_hal *, uint16_t entry, extern HAL_BOOL ar5210SetKeyCacheEntryMac(struct ath_hal *, uint16_t, const uint8_t *); -extern HAL_BOOL ar5210SetPowerMode(struct ath_hal *, uint32_t powerRequest, +extern HAL_BOOL ar5210SetPowerMode(struct ath_hal *, HAL_POWER_MODE mode, int setChip); extern HAL_POWER_MODE ar5210GetPowerMode(struct ath_hal *); diff --git a/sys/dev/ath/ath_hal/ar5211/ar5211.h b/sys/dev/ath/ath_hal/ar5211/ar5211.h index 45fe7e366190..08396ed85dcb 100644 --- a/sys/dev/ath/ath_hal/ar5211/ar5211.h +++ b/sys/dev/ath/ath_hal/ar5211/ar5211.h @@ -304,7 +304,7 @@ extern HAL_BOOL ar5211SetKeyCacheEntry(struct ath_hal *, uint16_t entry, extern HAL_BOOL ar5211SetKeyCacheEntryMac(struct ath_hal *, uint16_t, const uint8_t *); -extern HAL_BOOL ar5211SetPowerMode(struct ath_hal *, uint32_t powerRequest, +extern HAL_BOOL ar5211SetPowerMode(struct ath_hal *, HAL_POWER_MODE mode, int setChip); extern HAL_POWER_MODE ar5211GetPowerMode(struct ath_hal *);