Skip to content

Commit 48f8bfd

Browse files
committed
Merge tag 'affs-6.11-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
Pull affs updates from David Sterba: - conversions of one-element arrays to flexible arrays * tag 'affs-6.11-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: affs: struct slink_front: Replace 1-element array with flexible array affs: struct affs_data_head: Replace 1-element array with flexible array affs: struct affs_head: Replace 1-element array with flexible array
2 parents 5183594 + 0aef1d4 commit 48f8bfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/affs/amigaffs.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ struct affs_head {
8080
__be32 spare1;
8181
__be32 first_data;
8282
__be32 checksum;
83-
__be32 table[1];
83+
__be32 table[];
8484
};
8585

8686
struct affs_tail {
@@ -108,7 +108,7 @@ struct slink_front
108108
__be32 key;
109109
__be32 spare1[3];
110110
__be32 checksum;
111-
u8 symname[1]; /* depends on block size */
111+
u8 symname[]; /* depends on block size */
112112
};
113113

114114
struct affs_data_head
@@ -119,7 +119,7 @@ struct affs_data_head
119119
__be32 size;
120120
__be32 next;
121121
__be32 checksum;
122-
u8 data[1]; /* depends on block size */
122+
u8 data[]; /* depends on block size */
123123
};
124124

125125
/* Permission bits */

0 commit comments

Comments
 (0)