From nobody Wed May 03 00:29:52 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 4Q9yWh5Jt9z48NX4; Wed, 3 May 2023 00:29:52 +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 4Q9yWh36J7z3nHG; Wed, 3 May 2023 00:29:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683073792; 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=goTNZr7H099EO4DOOMmJHpIoW1zEFGyHJNIwBhuKyjY=; b=l7+XVhXjIegZSG17y9NNt4SQxavv/lRk2wmP7H7q3O3auvo3ehxP6oib4fegapn2ecDvig 5nFBZrlo/jtDJhQbNCdLjJsno5lSFTr8LBKTwAzMWyqu1/k1b7xoNF1goHLdbrrRpftb+X 5prlM0gFhDaCHoOomJtlt76EwtodRvMRrmOy2ccCWa8MDn4WWieIFN13lJRpASLjbMrQpU oSZgZsnDem9u8XT6VNfB5Z1JLdLM8nNh4KX/a3VH0+Gu8VKgDgY0rpjcetEp0LCrMLWCcM Csz1l56QAPXFVoRac3df8vOBeigdFW7bgsnIkRnRDBjTKi6kCzzS8zmEgtc1RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683073792; 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=goTNZr7H099EO4DOOMmJHpIoW1zEFGyHJNIwBhuKyjY=; b=QaQ5AarHuqXj9JeJCQbV6DAKlWSOWn/4yEICNETbNDetXxnKtygi/xrY1xlLNOMevJm0RV 4c1HFVpQX6QerSJO+7IU899LPpWkstYujHNG4znOFK1jd8LszX3VbCuadcC+RgzikYGaod jXUFrLOsSzvp+ayDGP6DcbPf1iA4PlGJC6nGmBCXB0os6JvDOr4NaARRHlpoBtewzJC7p1 eTdQ3Y5tvxVwY9EefOffHOefTqfGSWsVfXYw4YxXyuK8RYhK8o8lCq3ShVFJSJMxAQB4ig bBc1MXklX5S6EHnbRMP9X1iJJIkcsnGPG27Mh1rStr8Ncw8k9d953ss0BXRp6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683073792; a=rsa-sha256; cv=none; b=hyhxyGhGHOR6d2vIwDQHSOQU7MajxyssYRixwkFIrkWN8WnSrTZAjUjqkmEI2G1TxxJF2y Ua2wN2lrlIF/iZTT/Ocm1qnsxWuBVQAiCxNYlLNOQrvbiqEypKE/Al0CDoQI7iJIytOJX5 zgGqxeIYHT1hD+tmahOO+ZMYBN9ldxbN2XHqSOSKGaJLWQSgCG8SmmENWwqZ5RIQ32Cl1l Wx/cseSaFeYwr+gp7KcDaBDjehHtBPCedoyh/bLG3ufoBAidBys2/9dXIuKT7iFWfLi+bw gVDMnn+N7axZBqp4nK/sjVQsuUjL9T4Skn8TJKPCVrgSKJ4qV7dYe41WJ8yf8A== 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 4Q9yWh1yKsz18Wt; Wed, 3 May 2023 00:29:52 +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 3430TqjZ072247; Wed, 3 May 2023 00:29:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3430TqYo072246; Wed, 3 May 2023 00:29:52 GMT (envelope-from git) Date: Wed, 3 May 2023 00:29:52 GMT Message-Id: <202305030029.3430TqYo072246@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: 4f58d7654381 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 4f58d7654381a6e9b8b71b8ac154de20e19f9b10 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=4f58d7654381a6e9b8b71b8ac154de20e19f9b10 commit 4f58d7654381a6e9b8b71b8ac154de20e19f9b10 Author: John Baldwin AuthorDate: 2022-12-07 20:31:16 +0000 Commit: John Baldwin CommitDate: 2023-05-03 00:18:37 +0000 malo: Fix mismatch in array bounds. Reported by: GCC -Warray-parameter Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D37544 (cherry picked from commit 8b45e0c180114e1059767d0920ad6e6bfdeb37ce) --- 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 *);