Commit 48f8bfd4 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
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
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 */