summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-03-24 19:39:32 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-24 19:39:32 +0100
commit3ce62cf4dc3b01d1cbee1293049ca5d4c7d6d749 (patch)
tree19a5cc5c6896fb36b610e610c3f6738a72aeef50 /drivers/scsi/qla2xxx/qla_def.h
parentMerge tag 'prlimit-tasklist_lock-for-v5.18' of git://git.kernel.org/pub/scm/l... (diff)
parenttreewide: Replace zero-length arrays with flexible-array members (diff)
downloadlinux-3ce62cf4dc3b01d1cbee1293049ca5d4c7d6d749.tar.xz
linux-3ce62cf4dc3b01d1cbee1293049ca5d4c7d6d749.zip
Merge tag 'flexible-array-transformations-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux
Pull flexible-array transformations from Gustavo Silva: "Treewide patch that replaces zero-length arrays with flexible-array members. This has been baking in linux-next for a whole development cycle" * tag 'flexible-array-transformations-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux: treewide: Replace zero-length arrays with flexible-array members
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 9ebf4a234d9a..b6434c72dee3 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -5410,7 +5410,7 @@ struct ql_vnd_stat_entry {
struct ql_vnd_stats {
u64 entry_count; /* Num of entries */
u64 rservd;
- struct ql_vnd_stat_entry entry[0]; /* Place holder of entries */
+ struct ql_vnd_stat_entry entry[]; /* Place holder of entries */
} __packed;
struct ql_vnd_host_stats_resp {