From nobody Wed Dec 7 20:34:11 2022 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 4NS8C74RpXz4jmGS; Wed, 7 Dec 2022 20:34:11 +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 4NS8C73w8Rz3j3Q; Wed, 7 Dec 2022 20:34:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670445251; 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=dvcU0h4G9+XrcGljyeAXn/iYiMawOPfH0Xz4k8xAiaU=; b=WIzXa24a6Bb9J+GbeNxo8/ObBhD1JDA61Yf6HoCXCGSaWvcQGwtMxjc8IhEp2qp5XKLWXi 8LXoYGF5gNM/hso2I3sjs8yNYZ6Xidt9H1l4CxESVO21MVS7kY3xW5CNSItFy4G8o7KYuK Esy6Q2068ADEEfxe0Hty3rDZ7+HvgrtD0oCQQmYTEsvTXw4Xg3SowAlqecHOPrFLsYnboS mvVcbKqIS2/gTHGnVUGdDoM1Py/zjTJDkbjHc2rXM2jNDVdkLv3gifmIsFvK+pVh8FP3Jy SrfJ+p8iAlK/U/nM0/26GLd3Ubv6pzGdVLjOtVXtNwZhrftkLO8mtlq16rsvOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670445251; 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=dvcU0h4G9+XrcGljyeAXn/iYiMawOPfH0Xz4k8xAiaU=; b=Hv/aGwf/TTkzYXeKUp7mcf79IMfYvrkowePxPdSeN9dUdcmMPS7+kbFwFleHXptuVh0+o0 KeD8gUPRNjPU906ifaCepMfr5cv4JeXTPedMtzjW3J/fh0HSeCNwa/5433cmOlIwyriMg+ YDsTjMGMMu5DbcsMRNr4uIwvctqxgnAUIQ6mRFbkF35gqZFfHMoW/SKCsKNYMfDSTxdMqj ymvhX3FS/M7Wlv8H+abWDNFWkbo+VabZM0ILKwOusCjjbAjG9447ONl3Q1mVvJ5+dYRNCR 2611CPDdB/a7nNPFmCG50t8EkfEAKftuOuwbk4J7ijCv3RXH6VHq/gR5Pi0NCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670445251; a=rsa-sha256; cv=none; b=GK+svJOXeQHVaakosEfNT+MautW6NyUtLGDHEE2OOs3rL7gsRJNlN5VlvAtNOQEoUVc8fZ QHQEYzu5aUo8CtbGUCnN5C4zUUAQ+5vAwVssAHk4thQ7f3e/WRvtDIQWrNjyfdeL4sOqCx R37tqStBdtdnpazfBPJY57bFoNmfqSeDTDW+vpeID61cGpjuvFhbKeqrXTGaqijLqFCSet u+pLwBNkASb6n+JRrRfDEyjjsWDjz8ZW+NS4PhLAYYnr69f+RN7HidPjI2ZL1TZj+l+dfe x/iZON+rqNYwKNh6xewDg4iHtIVipwmN7lPasfgxtHnLmvbe3KTzgxiH37FtCA== 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 4NS8C72yYCzVT0; Wed, 7 Dec 2022 20:34:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2B7KYBVH088577; Wed, 7 Dec 2022 20:34:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B7KYBWm088576; Wed, 7 Dec 2022 20:34:11 GMT (envelope-from git) Date: Wed, 7 Dec 2022 20:34:11 GMT Message-Id: <202212072034.2B7KYBWm088576@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: 8b45e0c18011 - main - malo: Fix mismatch in array bounds. 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: 8b45e0c180114e1059767d0920ad6e6bfdeb37ce Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8b45e0c180114e1059767d0920ad6e6bfdeb37ce commit 8b45e0c180114e1059767d0920ad6e6bfdeb37ce Author: John Baldwin AuthorDate: 2022-12-07 20:31:16 +0000 Commit: John Baldwin CommitDate: 2022-12-07 20:31:16 +0000 malo: Fix mismatch in array bounds. Reported by: GCC -Warray-parameter Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D37544 --- sys/dev/malo/if_malohal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/malo/if_malohal.h b/sys/dev/malo/if_malohal.h index 8322f18ef739..6a68a41afea9 100644 --- a/sys/dev/malo/if_malohal.h +++ b/sys/dev/malo/if_malohal.h @@ -223,7 +223,7 @@ int malo_hal_setmaxtxpwr(struct malo_hal *, uint16_t); int malo_hal_settxpower(struct malo_hal *, const struct malo_hal_channel *); int malo_hal_setpromisc(struct malo_hal *, int); int malo_hal_setassocid(struct malo_hal *, - const uint8_t[], uint16_t); + const uint8_t[IEEE80211_ADDR_LEN], uint16_t); void malo_hal_txstart(struct malo_hal *, int); void malo_hal_getisr(struct malo_hal *, uint32_t *); void malo_hal_cmddone(struct malo_hal *);