generic: 5.15: add pending patch fixing compilation warning in jffs2
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 May 2023 05:06:09 +0000 (07:06 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 May 2023 01:15:34 +0000 (03:15 +0200)
commit58a8fe7cb0775614d3292edbf63a9ff5125f95c0
tree381cd081b1695300968829036c57a2b5a88df968
parentb93d2d7c38bc98cee49c76acc7523b43cb4f25f7
generic: 5.15: add pending patch fixing compilation warning in jffs2

Current gcc set a limit for each stack and complain if this limit is not
followed. JFSS2 in build_xattr function currently exceed the limit by
allocating a massive array of struct of 128 elements. Introduce a
pending patch that allocate this temp array dynamically fixing the
compilation warning:

fs/jffs2/xattr.c: In function 'jffs2_build_xattr_subsystem':
fs/jffs2/xattr.c:887:1: error: the frame size of 1088 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
  887 | }
      | ^

Affecting many target that require jffs2 support.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/generic/pending-5.15/143-jffs2-reduce-stack-usage-in-jffs2_build_xattr_subsys.patch [new file with mode: 0644]