Date: Wed, 7 Dec 2022 20:34:10 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: f322a6cef0b1 - main - iwi: Fix mismatch in array bounds. Message-ID: <202212072034.2B7KYAGY088552@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=f322a6cef0b142bd65c3750139ea1801513b864a commit f322a6cef0b142bd65c3750139ea1801513b864a Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-12-07 20:31:01 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-12-07 20:31:01 +0000 iwi: Fix mismatch in array bounds. Reported by: GCC -Warray-parameter Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D37543 --- sys/dev/iwi/if_iwi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/iwi/if_iwi.c b/sys/dev/iwi/if_iwi.c index 9cf08e7d434f..8cd27091d2d9 100644 --- a/sys/dev/iwi/if_iwi.c +++ b/sys/dev/iwi/if_iwi.c @@ -173,7 +173,7 @@ static void iwi_rx_intr(struct iwi_softc *); static void iwi_tx_intr(struct iwi_softc *, struct iwi_tx_ring *); static void iwi_intr(void *); static int iwi_cmd(struct iwi_softc *, uint8_t, void *, uint8_t); -static void iwi_write_ibssnode(struct iwi_softc *, const u_int8_t [], int); +static void iwi_write_ibssnode(struct iwi_softc *, const u_int8_t [IEEE80211_ADDR_LEN], int); static int iwi_tx_start(struct iwi_softc *, struct mbuf *, struct ieee80211_node *, int); static int iwi_raw_xmit(struct ieee80211_node *, struct mbuf *,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212072034.2B7KYAGY088552>