affs-6.11-tag

-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEE8rQSAMVO+zA4DBdWxWXV+ddtWDsFAmaVDjoACgkQxWXV+ddt
 WDvJNw//W06XIF/fFywfTkQgU60v0qNHw/v4ZUvEldSsZGNPiEbjJSvcv65Qa1SL
 Ft+2rGfb7Yy77jOhU1uEA+p7Q9Zc7bfnonenqufKH4ZDfLMrdLMbrc9d8U8eCG3Z
 m/auKl+FexbqfUEd4Aw1y9s9OHid8Ttr2a3Wut8TiZxbAnt4N+PDlBkip/FKNK9U
 hDZe6igwqO1Bt0QGNYbGCLT2TWor3anwolv7P15S4L0AQ7Ua8tBlxFxl28mwI3rT
 C8xKzuKUCOIait8oXN+yI1jIxHdlBnQoGRbqD7oljhcsKg3DqePmGDW3N9XVNgIh
 nYyC7tlNPhrbvfQiSVtqU/d3fTEY+A62eMcALpVgf5A1URShcisSGB1ubXRzddxq
 xo2uc/k3rTdmKUGmdUdHJi5bs3RRp+2dnf7kpG0RCf8dotsCdK+XBImOIK1lau8p
 pJfM8BCgghKG/vEihaJolHEEgMTSU1Et8n3HucblsVOPLmluNdNJqcFor/jLGlrj
 2x+5nX6U6ei4S/EP33fl26c0jTsMD5Rv+kF5JkNdk7sjHceB+VLgfy8kQC8vl50n
 pB15xXwn/L7Wb7TS0Gru9TduzHsSL7DQBCanvbqWyn3icu6FT4vSIAafbqztkvnf
 uWPUm3y9AojSJLYZenZIpd9XEZCYLkCAlWQHse/0Pm+0+WZcCFM=
 =E7Vl
 -----END PGP SIGNATURE-----

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
This commit is contained in:
Linus Torvalds 2024-07-17 11:53:23 -07:00
commit 48f8bfd481

View File

@ -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 */