diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-03-24 19:39:32 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-03-24 19:39:32 +0100 |
commit | 3ce62cf4dc3b01d1cbee1293049ca5d4c7d6d749 (patch) | |
tree | 19a5cc5c6896fb36b610e610c3f6738a72aeef50 /scripts | |
parent | Merge tag 'prlimit-tasklist_lock-for-v5.18' of git://git.kernel.org/pub/scm/l... (diff) | |
parent | treewide: Replace zero-length arrays with flexible-array members (diff) | |
download | linux-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 'scripts')
-rw-r--r-- | scripts/dtc/libfdt/fdt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dtc/libfdt/fdt.h b/scripts/dtc/libfdt/fdt.h index f2e68807f277..0c91aa7f67b5 100644 --- a/scripts/dtc/libfdt/fdt.h +++ b/scripts/dtc/libfdt/fdt.h @@ -35,14 +35,14 @@ struct fdt_reserve_entry { struct fdt_node_header { fdt32_t tag; - char name[0]; + char name[]; }; struct fdt_property { fdt32_t tag; fdt32_t len; fdt32_t nameoff; - char data[0]; + char data[]; }; #endif /* !__ASSEMBLY */ |