diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-07-17 11:53:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-07-17 11:53:23 -0700 |
commit | 48f8bfd4810e5e2b5de40328aa007733ce3372e3 (patch) | |
tree | d073d79b8755bc4446470b09628245a41f82dc47 | |
parent | 51835949dda3783d4639cfa74ce13a3c9829de00 (diff) | |
parent | 0aef1d41c61b52b21e1750e7b53447126ff257de (diff) |
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
-rw-r--r-- | fs/affs/amigaffs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/affs/amigaffs.h b/fs/affs/amigaffs.h index 81fb396d4dfa..1b973a669d23 100644 --- a/fs/affs/amigaffs.h +++ b/fs/affs/amigaffs.h @@ -80,7 +80,7 @@ struct affs_head { __be32 spare1; __be32 first_data; __be32 checksum; - __be32 table[1]; + __be32 table[]; }; struct affs_tail { @@ -108,7 +108,7 @@ struct slink_front __be32 key; __be32 spare1[3]; __be32 checksum; - u8 symname[1]; /* depends on block size */ + u8 symname[]; /* depends on block size */ }; struct affs_data_head @@ -119,7 +119,7 @@ struct affs_data_head __be32 size; __be32 next; __be32 checksum; - u8 data[1]; /* depends on block size */ + u8 data[]; /* depends on block size */ }; /* Permission bits */ |