Samuel Holland 44c5027bb5 scsi: 3w-9xxx: Use flexible array members to avoid struct padding
In preparation for removing the "#pragma pack(1)" from the driver, fix all
instances where a trailing array member could be replaced by a flexible
array member. Since a flexible array member has zero size, it introduces no
padding, whether or not the struct is packed.

Link: https://lore.kernel.org/r/20210427235915.39211-2-samuel@sholland.org
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-05-15 18:01:33 -04:00
..
2021-01-22 21:14:09 -05:00
2021-03-24 22:58:33 -04:00
2021-03-24 22:54:24 -04:00
2021-05-05 13:24:11 -07:00
2020-03-11 23:07:59 -04:00
2021-04-13 00:16:42 -04:00
2021-04-28 17:22:10 -07:00
2021-04-15 22:44:40 -04:00
2021-04-28 17:22:10 -07:00
2021-04-28 17:22:10 -07:00
2021-05-14 22:31:25 -04:00
2021-01-22 21:14:08 -05:00
2021-01-22 21:14:07 -05:00
2021-04-28 17:22:10 -07:00
2021-04-06 09:28:17 -06:00
2018-06-19 22:02:25 -04:00
2021-01-22 21:14:08 -05:00
2021-04-28 17:22:10 -07:00
2020-03-11 23:07:59 -04:00
2021-03-24 23:07:14 -04:00
2020-09-02 22:49:06 -04:00
2020-08-23 17:36:59 -05:00
2021-04-13 00:20:48 -04:00
2021-04-06 09:28:17 -06:00
2021-04-17 20:25:33 -07:00
2020-12-07 20:24:09 -05:00
2021-01-22 21:14:07 -05:00
2020-10-14 15:15:35 -07:00
2021-04-15 22:44:40 -04:00
2021-04-15 22:44:41 -04:00
2021-01-26 22:11:17 -05:00
2020-12-07 20:24:09 -05:00
2020-12-07 20:24:09 -05:00
2020-08-23 17:36:59 -05:00
2020-10-14 15:15:35 -07:00
2021-03-24 23:03:43 -04:00
2021-04-28 17:22:10 -07:00
2021-04-28 17:22:10 -07:00
2021-04-28 17:22:10 -07:00
2021-04-17 20:25:33 -07:00
2018-06-19 22:02:25 -04:00
2020-10-14 15:15:35 -07:00
2019-07-11 15:14:01 -07:00
2021-04-28 17:22:10 -07:00
2020-02-24 15:01:57 -05:00
2021-04-06 09:28:17 -06:00
2021-04-06 09:28:17 -06:00
2021-01-22 21:14:10 -05:00
2021-04-13 00:20:48 -04:00
2020-10-14 15:15:35 -07:00
2021-01-22 21:14:12 -05:00
2019-07-11 15:14:01 -07:00