Re: mm/damon/vaddr-test.h:309:1: warning: the frame size of 1064 bytes is larger than 1024 bytes

From: SeongJae Park
Date: Wed Dec 01 2021 - 12:35:44 EST


On Thu, 18 Nov 2021 21:53:55 +0800 kernel test robot <lkp@xxxxxxxxx> wrote:

> [-- Attachment #1: Type: text/plain, Size: 3453 bytes --]
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 42eb8fdac2fc5d62392dcfcf0253753e821a97b0
> commit: 17ccae8bb5c928946f6f3af14626ec458f74e6ad mm/damon: add kunit tests
> date: 2 months ago
> config: mips-randconfig-c004-20211118 (attached as .config)
> compiler: mipsel-linux-gcc (GCC) 11.2.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=17ccae8bb5c928946f6f3af14626ec458f74e6ad
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout 17ccae8bb5c928946f6f3af14626ec458f74e6ad
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=mips
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>

Thank you for the fix, and sorry for late reply. A fix for this issue has
posted: https://lore.kernel.org/linux-mm/20211201150440.1088-6-sj@xxxxxxxxxx/


Thanks,
SJ

>
> All warnings (new ones prefixed by >>):
>
> In file included from mm/damon/vaddr.c:672:
> mm/damon/vaddr-test.h: In function 'damon_test_split_evenly':
> >> mm/damon/vaddr-test.h:309:1: warning: the frame size of 1064 bytes is larger than 1024 bytes [-Wframe-larger-than=]
> 309 | }
> | ^
>