diff options
author | SeongJae Park <sj@kernel.org> | 2021-12-10 14:46:40 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-12-10 17:10:56 -0800 |
commit | 044cd9750fe010170f5dc812e4824d98f5ea928c (patch) | |
tree | b9e06932c29f8c7589ba776f07898f6104a2670c /fs/exfat | |
parent | 09e12289cc044afa484e70c0b379d579d52caf9a (diff) | |
download | linux-044cd9750fe010170f5dc812e4824d98f5ea928c.tar.gz linux-044cd9750fe010170f5dc812e4824d98f5ea928c.tar.bz2 linux-044cd9750fe010170f5dc812e4824d98f5ea928c.zip |
mm/damon/vaddr-test: split a test function having >1024 bytes frame size
On some configuration[1], 'damon_test_split_evenly()' kunit test
function has >1024 bytes frame size, so below build warning is
triggered:
CC mm/damon/vaddr.o
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 | }
| ^
This commit fixes the warning by separating the common logic in the
function.
[1] https://lore.kernel.org/linux-mm/202111182146.OV3C4uGr-lkp@intel.com/
Link: https://lkml.kernel.org/r/20211201150440.1088-6-sj@kernel.org
Fixes: 17ccae8bb5c9 ("mm/damon: add kunit tests")
Signed-off-by: SeongJae Park <sj@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Brendan Higgins <brendanhiggins@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/exfat')
0 files changed, 0 insertions, 0 deletions