diff options
| author | Matt Merhar <mattmerhar@protonmail.com> | 2023-10-28 21:15:46 -0400 |
|---|---|---|
| committer | Matt Merhar <mattmerhar@protonmail.com> | 2023-10-28 21:17:16 -0400 |
| commit | b2068f4aac43754a681b675ff3814d9ca87ac986 (patch) | |
| tree | a64ffdd4dd56c5ac9927c27869051186d178803b /package/kernel | |
| parent | b7c12a9bfc01067f167ff805acdc1411d798b977 (diff) | |
| download | upstream-b2068f4aac43754a681b675ff3814d9ca87ac986.tar.gz upstream-b2068f4aac43754a681b675ff3814d9ca87ac986.tar.bz2 upstream-b2068f4aac43754a681b675ff3814d9ca87ac986.zip | |
kernel: fix jffs2 compilation with GCC_PLUGIN_RANDSTRUCT enabled
Designated initializers are required when using the randstruct GCC
plugin, otherwise an error like the following is seen:
./include/linux/lzma.h:60:31: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
This was originally applied via 55643e469c21, but was unintentionally
reverted in 483503603cb2.
Fixes: 483503603cb2 ("generic: 5.15: rework pending patch")
Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
Diffstat (limited to 'package/kernel')
0 files changed, 0 insertions, 0 deletions
