Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Hauke Mehrtens <hauke@hauke-m.de>
Cc: stable@vger.kernel.org, jack@suse.com
Subject: Re: [PATCH stable 5.15 0/2] backport: udf: Allocate name buffer in directory iterator on heap
Date: Fri, 15 Nov 2024 06:21:44 +0100	[thread overview]
Message-ID: <2024111539-mandolin-astonish-8414@gregkh> (raw)
In-Reply-To: <20241114212657.306989-1-hauke@hauke-m.de>

On Thu, Nov 14, 2024 at 10:26:55PM +0100, Hauke Mehrtens wrote:
> I am running into this compile error with Linux kernel 5.15.171 in OpenWrt on 32 bit systems.
> ```
> fs/udf/namei.c: In function 'udf_rename':
> fs/udf/namei.c:878:1: error: the frame size of 1144 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
>   878 | }
>       | ^
> cc1: all warnings being treated as errors
> make[2]: *** [scripts/Makefile.build:289: fs/udf/namei.o] Error 1
> make[1]: *** [scripts/Makefile.build:552: fs/udf] Error 2
> ``` 
> 
> This problem was introduced with kernel 5.15.169.
> The first patch needs an extra linux/slab.h include on x86, which is the only modification I did to it compared to the upstream version.
> 
> These patches should go into 5.15. They were already backported to kernel 6.1.
> 
> Jan Kara (2):
>   udf: Allocate name buffer in directory iterator on heap
>   udf: Avoid directory type conversion failure due to ENOMEM
> 
>  fs/udf/directory.c | 27 +++++++++++++++++++--------
>  fs/udf/udfdecl.h   |  2 +-
>  2 files changed, 20 insertions(+), 9 deletions(-)
> 
> -- 
> 2.47.0
> 
> 

Now queued up, thanks.
greg k-h

      parent reply	other threads:[~2024-11-15  5:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14 21:26 [PATCH stable 5.15 0/2] backport: udf: Allocate name buffer in directory iterator on heap Hauke Mehrtens
2024-11-14 21:26 ` [PATCH stable 5.15 1/2] " Hauke Mehrtens
2024-11-14 21:26 ` [PATCH stable 5.15 2/2] udf: Avoid directory type conversion failure due to ENOMEM Hauke Mehrtens
2024-11-15  5:21 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2024111539-mandolin-astonish-8414@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=hauke@hauke-m.de \
    --cc=jack@suse.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox