Re: [PATCH] mm/filemap: Fix warning: no previous prototype

From: Matthew Wilcox
Date: Wed Dec 16 2020 - 21:23:58 EST


On Thu, Dec 17, 2020 at 10:03:11AM +0800, Xiangyang Yu wrote:
> Fixed the warning when building with warnings enabled (W=1),
> This function is only used in filemap.c, so mark this function
> with 'static'.

Good grief, no. Look at the git history before proposing a patch.