Commit 48f8bfd4 authored by Linus Torvalds's avatar Linus Torvalds

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
parents 51835949 0aef1d41
...@@ -80,7 +80,7 @@ struct affs_head { ...@@ -80,7 +80,7 @@ struct affs_head {
__be32 spare1; __be32 spare1;
__be32 first_data; __be32 first_data;
__be32 checksum; __be32 checksum;
__be32 table[1]; __be32 table[];
}; };
struct affs_tail { struct affs_tail {
...@@ -108,7 +108,7 @@ struct slink_front ...@@ -108,7 +108,7 @@ struct slink_front
__be32 key; __be32 key;
__be32 spare1[3]; __be32 spare1[3];
__be32 checksum; __be32 checksum;
u8 symname[1]; /* depends on block size */ u8 symname[]; /* depends on block size */
}; };
struct affs_data_head struct affs_data_head
...@@ -119,7 +119,7 @@ struct affs_data_head ...@@ -119,7 +119,7 @@ struct affs_data_head
__be32 size; __be32 size;
__be32 next; __be32 next;
__be32 checksum; __be32 checksum;
u8 data[1]; /* depends on block size */ u8 data[]; /* depends on block size */
}; };
/* Permission bits */ /* Permission bits */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment