kernel: fix jffs2 compilation with GCC_PLUGIN_RANDSTRUCT enabled
authorMatt Merhar <mattmerhar@protonmail.com>
Mon, 6 Sep 2021 23:32:48 +0000 (19:32 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 13 Sep 2021 15:08:12 +0000 (17:08 +0200)
commit55643e469c21ae268cd9842705ae064404094f07
treea5efcb645c02e5565a59782edbe31a7b018e51c8
parent1a3b3dc7974c98843baeb22251dc4c580dc771d6
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]

Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
target/linux/generic/pending-5.10/530-jffs2_make_lzma_available.patch
target/linux/generic/pending-5.4/530-jffs2_make_lzma_available.patch