linux-next: build warning after merge of the akpm-current tree

From: Stephen Rothwell
Date: Fri May 21 2021 - 01:40:15 EST


Hi all,

After merging the akpm-current tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

mm/swapfile.c:1039:22: warning: 'scan_swap_map' defined but not used [-Wunused-function]
1039 | static unsigned long scan_swap_map(struct swap_info_struct *si,
| ^~~~~~~~~~~~~

Introduced by commit

c9ea6b99df3c ("mm/swapfile: move get_swap_page_of_type() under CONFIG_HIBERNATION")

# CONFIG_HIBERNATION is not set

--
Cheers,
Stephen Rothwell

Attachment: pgpBKJ2ONUDrU.pgp
Description: OpenPGP digital signature