From 09db6ed78dedc938a180bc61722175810ffdf416 Mon Sep 17 00:00:00 2001 From: Todd Kjos Date: Thu, 21 Nov 2024 22:46:32 +0000 Subject: [PATCH] ANDROID: fix kernelci issue in fs/fuse/dir.c Fields were added to struct fuse_args which caused the stack to increase beyone the expected 1024 bytes for arm32 builds. This manifested as an error during allmodconfig builds in kernelci: fs/fuse/dir.c:2142:5: error: stack frame size (1032) exceeds limit (1024) in 'fuse_do_setattr' Workaround the issue by increasing the expected stack frame size for dir.o. Fixes: 8b16bb6b6f0a ("ANDROID: fuse-bpf: fuse-bpf v1.2") Signed-off-by: Todd Kjos Change-Id: I95134ea360e8f9be4bd283db38242f107b4cf7eb --- fs/fuse/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/fuse/Makefile b/fs/fuse/Makefile index 65364c5ca91b..d28325f3ccb2 100644 --- a/fs/fuse/Makefile +++ b/fs/fuse/Makefile @@ -10,6 +10,7 @@ obj-$(CONFIG_FUSE_FS) += fuse.o obj-$(CONFIG_CUSE) += cuse.o obj-$(CONFIG_VIRTIO_FS) += virtiofs.o +CFLAGS_dir.o += -Wframe-larger-than=2048 fuse-y := dev.o dir.o file.o inode.o control.o xattr.o acl.o readdir.o ioctl.o fuse-y += iomode.o fuse-$(CONFIG_FUSE_DAX) += dax.o