Date: Wed, 7 Dec 2022 20:34:11 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 8b45e0c18011 - main - malo: Fix mismatch in array bounds. Message-ID: <202212072034.2B7KYBWm088576@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8b45e0c180114e1059767d0920ad6e6bfdeb37ce commit 8b45e0c180114e1059767d0920ad6e6bfdeb37ce Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-12-07 20:31:16 +0000 Commit: John Baldwin <jhb@FreeBSD.org> 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 *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212072034.2B7KYBWm088576>