Fix array bounds mismatch with clang 15
authorpatrick <patrick@openbsd.org>
Tue, 27 Dec 2022 20:13:03 +0000 (20:13 +0000)
committerpatrick <patrick@openbsd.org>
Tue, 27 Dec 2022 20:13:03 +0000 (20:13 +0000)
commit04cdc2f221d0a137bc3fe350017128664d5a8b58
treee534cfe09268748bb56b5658dbfdbf16319d485c
parente70a8168170aa2c12e7bb6f55373965f1af3174b
Fix array bounds mismatch with clang 15

New warning -Warray-parameter is a bit overzealous.
ok millert@ tb@
sys/crypto/sha2.c
sys/dev/ic/ar5008.c
sys/dev/ic/ar9003.c
sys/dev/ic/rtwn.c
sys/kern/sys_generic.c
sys/net/pf.c
sys/net/toeplitz.h
sys/net80211/ieee80211_input.c
sys/netinet/if_ether.h