diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-01 18:31:07 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-01 18:31:07 +0300 |
commit | 170ab6c51a42a8a1c1a7ce09367b578db6f2f383 (patch) | |
tree | 1718f51b7e61d017510cc6accc4223b1838a188c /include/uapi | |
parent | dd546618ba704be4f3724a11e5a194052c551f08 (diff) | |
parent | 40ca06d71d60677a8424798610c97a46e4140a21 (diff) | |
download | linux-170ab6c51a42a8a1c1a7ce09367b578db6f2f383.tar.xz |
Merge tag 'flex-array-transformations-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux
Pull flexible-array update from Gustavo Silva:
"Transform a zero-length array into a C99 flexible-array member.
This addresses a build failure with Clang by fixing multiple
'-Warray-bounds' warnings in drivers/staging/ks7010/ks_wlan_net.c"
* tag 'flex-array-transformations-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux:
uapi: wireless: Replace zero-length array with flexible-array member
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/wireless.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/wireless.h b/include/uapi/linux/wireless.h index 08967b3f19c8..3c2ad5fae17f 100644 --- a/include/uapi/linux/wireless.h +++ b/include/uapi/linux/wireless.h @@ -835,7 +835,7 @@ struct iw_encode_ext { * individual keys */ __u16 alg; /* IW_ENCODE_ALG_* */ __u16 key_len; - __u8 key[0]; + __u8 key[]; }; /* SIOCSIWMLME data */ |