Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH stable 5.15 0/2] backport: udf: Allocate name buffer in directory iterator on heap
@ 2024-11-14 21:26 Hauke Mehrtens
  2024-11-14 21:26 ` [PATCH stable 5.15 1/2] " Hauke Mehrtens
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hauke Mehrtens @ 2024-11-14 21:26 UTC (permalink / raw)
  To: stable; +Cc: jack, gregkh, Hauke Mehrtens

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-11-15  5:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH stable 5.15 0/2] backport: udf: Allocate name buffer in directory iterator on heap Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox