summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-04-27 18:59:13 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2021-05-15 18:01:33 -0400
commit44c5027bb5c8bbdc2aea2141dc32fe72c3f3988a (patch)
tree97cacee68418fb40a2b651470f43b2a5175d29f6 /lib/memory-notifier-error-inject.c
parent0edca4fc633ce223753c217f135a8036f516357b (diff)
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>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions