Merge tag 'hardening-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
[linux-2.6-block.git] / fs / afs / internal.h
index e33ace259cc618439d1a3cfc6f0e0098910412dd..55aa0679d8cec4b349424239852372e39b656395 100644 (file)
@@ -1213,7 +1213,7 @@ extern void afs_fs_inline_bulk_status(struct afs_operation *);
 
 struct afs_acl {
        u32     size;
-       u8      data[];
+       u8      data[] __counted_by(size);
 };
 
 extern void afs_fs_fetch_acl(struct afs_operation *);