Make khugepaged_collapse_control as it is not exported. Fixes the following sparse warning: mm/khugepaged.c:829:25: warning: symbol 'khugepaged_collapse_control' was not declared. Should it be static? Fixes: 34d6b470ab9cf ("mm/khugepaged: add struct collapse_control") Signed-off-by: Ben Dooks --- mm/khugepaged.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/khugepaged.c b/mm/khugepaged.c index 97d1b2824386..c9bd0df632bd 100644 --- a/mm/khugepaged.c +++ b/mm/khugepaged.c @@ -826,7 +826,7 @@ static void khugepaged_alloc_sleep(void) remove_wait_queue(&khugepaged_wait, &wait); } -struct collapse_control khugepaged_collapse_control = { +static struct collapse_control khugepaged_collapse_control = { .is_khugepaged = true, }; -- 2.37.2.352.g3c44437643