summaryrefslogtreecommitdiffstats
path: root/arch/ia64
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 /arch/ia64
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 'arch/ia64')
-rw-r--r--arch/ia64/include/asm/sal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/sal.h b/arch/ia64/include/asm/sal.h
index 78f4f7b40435..22749a201e92 100644
--- a/arch/ia64/include/asm/sal.h
+++ b/arch/ia64/include/asm/sal.h
@@ -420,7 +420,7 @@ typedef struct sal_log_processor_info {
* The rest of this structure consists of variable-length arrays, which can't be
* expressed in C.
*/
- sal_log_mod_error_info_t info[0];
+ sal_log_mod_error_info_t info[];
/*
* This is what the rest looked like if C supported variable-length arrays:
*