KSPP / linux

Linux kernel source tree (Kernel Self Protection Project)
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project
Other
83 stars 5 forks source link

Address -Wframe-larger-than warnings in fs/mpage.c #320

Open GustavoARSilva opened 1 year ago

GustavoARSilva commented 1 year ago

Found after building next-20230620 (with GCC-13) sh with shx3_defconfig:

fs/mpage.c: In function '__mpage_writepage':
fs/mpage.c:657:1: warning: the frame size of 1144 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  657 | }
      | ^
fs/mpage.c: In function 'do_mpage_readpage':
fs/mpage.c:329:1: warning: the frame size of 1092 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  329 | }
      | ^