Skip to content

Commit

Permalink
Fs: kernfs: fix stack frame size warn
Browse files Browse the repository at this point in the history
fixes:
../fs/kernfs/file.c:273:16: warning: stack frame size (4176) exceeds limit (2048) in function 'kernfs_fop_write' [-Wframe-larger-than]
static ssize_t kernfs_fop_write(struct file *file, const char __user *user_buf,

Signed-off-by: Divyanshu-Modi <divyan.m05@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
  • Loading branch information
Divyanshu-Modi authored and Hadenix committed Feb 2, 2024
1 parent 5046c74 commit b13c00b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/kernfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
# Makefile for the kernfs pseudo filesystem
#

ccflags-y += -Wframe-larger-than=4192

obj-y := mount.o inode.o dir.o file.o symlink.o

0 comments on commit b13c00b

Please sign in to comment.