kernel: fix jffs2 compilation with GCC_PLUGIN_RANDSTRUCT enabled
[openwrt/staging/stintel.git] / target / linux / generic / pending-5.15 / 530-jffs2_make_lzma_available.patch
index ac784d0b0bb73df474f6c59c96391343f5bea73c..f236657b71602bee30a6921ac2c8b509ecf8b09f 100644 (file)
@@ -351,7 +351,7 @@ Signed-off-by: Alexandros C. Couloumbis <alex@ozo.com>
 +              LZMA_FREE(address);
 +}
 +
-+static ISzAlloc lzma_alloc = {p_lzma_malloc, p_lzma_free};
++static ISzAlloc lzma_alloc = { .Alloc = p_lzma_malloc, .Free = p_lzma_free };
 +
 +#endif
 --- /dev/null