From nobody Sat Nov 30 19:09:13 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 4Y102y0bFSz5fW1T; Sat, 30 Nov 2024 19:09:13 +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 4Y102x33NQz4FZg; Sat, 30 Nov 2024 19:09:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732993753; 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=pr9gpoCnEff1jyqbkthsExav/fHCKBRv/H0Ik35nRQc=; b=XwUyYfteQguJvh5pF1qbmCTzkj4Z0/EQ6hBtohGdv1G+FwK5w/UsuEpITCQOI0iKDVn5Dj BzDUUEkVQKb5vlFvbyr8yAsD2t3ql2xto99Iq0/sV9rl7Dd7PmnRmVGby6d3rRNgSTxqPJ ARblHFKBmDVwPAULybtvFbZQM0PMvrdMo+/0TcS5pzzArW5VbNdOa2/VQp97DTQZH/61mG pVx0jwC2OHF1u2KK+UIdYMiKoVf7aAhA9XmfkiNvSgK+alCe70dTLDx+Q2BgRmgn/CvcOU xCThgKpoWMzz/LARF+DQfAhHbZ6QJkTS1oNAlENlAsiJXO37MDqQB+TWjG3lSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732993753; 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=pr9gpoCnEff1jyqbkthsExav/fHCKBRv/H0Ik35nRQc=; b=d6kQ3qxGqvc3sJ35uZCGDCJa8MMz9Q4+sc1j2TgDRW4IYxF1sJjUU7pOTiLpZGlDg7URsh NMZxUGinGOQ2P1VXtiqwNeBLStMJ6W0aBvgG/ZqsDHZLIPUFRUCLC0Qa+/VM5m5oLNgXj1 /jmH4kxn7mM0R9954NFWN2dRhSQCxze8P51SO/guDrZFF104IBlo8MFsIS0Ei40rIqdVUS 9bX8jeE9n25aRYbQtENlyyvHBiVeMjfu+lcb3NOOCjMf/gWsm6Zeqe11yQvvtxFfkMsqLs /2ESJHba1YiEHClRcpdfiNvpcyixLpat+qyQL5QyQ7cENEo4xne9EACC7XYjUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732993753; a=rsa-sha256; cv=none; b=owrxDNY6GhRwPTG/X8p/S4aD6LpxBxS3pXjDy7bn70QFHTj0h4taGktMnZXEOU7Vy6lpS0 oX6hk+I9E00lOhV3fUMlgm5TUsEJk9/WTJuu82mDUkUhJiSo5T6jSIw6zBQLV4+bDpfUKn xo53pCv/WTVjbGqp2u/QFNmHKyWAiN2RQTvSaZlY9Qv0IZMu8RZs57hgFHYE6cdjvklA52 Zn0SEIS/07iMmQvySRl17MpzyqJsBlmo3zcZAoiZLr8PKhidKvqsZyxF97YjQz987+D991 cKh8CtlwEbC4KAbbtl4qMYtjLnjbXvAoNTBdHvuQcWU4xrB40KNs/cDyphDZ6A== 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 4Y102x2h0zzKsW; Sat, 30 Nov 2024 19:09:13 +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 4AUJ9DO0097514; Sat, 30 Nov 2024 19:09:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AUJ9DWR097511; Sat, 30 Nov 2024 19:09:13 GMT (envelope-from git) Date: Sat, 30 Nov 2024 19:09:13 GMT Message-Id: <202411301909.4AUJ9DWR097511@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: f3fb0f6512bb - stable/13 - 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: 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: f3fb0f6512bbc71ec4cb9ed97d7db4ece0a200ab Auto-Submitted: auto-generated The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f3fb0f6512bbc71ec4cb9ed97d7db4ece0a200ab commit f3fb0f6512bbc71ec4cb9ed97d7db4ece0a200ab Author: John Baldwin AuthorDate: 2023-11-15 02:36:32 +0000 Commit: John Baldwin CommitDate: 2024-11-30 19:04:28 +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 fc9f6826149b..57162561ec03 100644 --- a/sys/dev/ath/ath_hal/ar5210/ar5210.h +++ b/sys/dev/ath/ath_hal/ar5210/ar5210.h @@ -276,7 +276,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 52d7fcbd2e1e..9764062ab47b 100644 --- a/sys/dev/ath/ath_hal/ar5211/ar5211.h +++ b/sys/dev/ath/ath_hal/ar5211/ar5211.h @@ -302,7 +302,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 *);