Skip to content

Commit 170ab6c

Browse files
committed
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
2 parents dd54661 + 40ca06d commit 170ab6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/uapi/linux/wireless.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ struct iw_encode_ext {
835835
* individual keys */
836836
__u16 alg; /* IW_ENCODE_ALG_* */
837837
__u16 key_len;
838-
__u8 key[0];
838+
__u8 key[];
839839
};
840840

841841
/* SIOCSIWMLME data */

0 commit comments

Comments
 (0)