git: 861585daa86a - stable/13 - iwi: Fix mismatch in array bounds.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 May 2023 00:29:51 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=861585daa86ae17538728bee612ce3582f8775a6
commit 861585daa86ae17538728bee612ce3582f8775a6
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-12-07 20:31:01 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-03 00:18:22 +0000
iwi: Fix mismatch in array bounds.
Reported by: GCC -Warray-parameter
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D37543
(cherry picked from commit f322a6cef0b142bd65c3750139ea1801513b864a)
---
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 0a65d4d635c2..c270550d1bba 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 *,