aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/mm
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2020-12-29 15:14:34 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2020-12-29 15:36:49 -0800
commit6d87d0ece58bc0022ca5247721a8eb06ef66b673 (patch)
treecc12c2ec0defc67d4995423d99850311f2c7c0f0 /arch/ia64/mm
parentcheckpatch: prefer strscpy to strlcpy (diff)
downloadlinux-dev-6d87d0ece58bc0022ca5247721a8eb06ef66b673.tar.xz
linux-dev-6d87d0ece58bc0022ca5247721a8eb06ef66b673.zip
mm: add prototype for __add_to_page_cache_locked()
Otherwise it causes a gcc warning: mm/filemap.c:830:14: warning: no previous prototype for `__add_to_page_cache_locked' [-Wmissing-prototypes] A previous attempt to make this function static led to compilation errors when CONFIG_DEBUG_INFO_BTF is enabled because __add_to_page_cache_locked() is referred to by BPF code. Adding a prototype will silence the warning. Link: https://lkml.kernel.org/r/1608693702-4665-1-git-send-email-jrdr.linux@gmail.com Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Cc: Alex Shi <alex.shi@linux.alibaba.com> Cc: Matthew Wilcox <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64/mm')
0 files changed, 0 insertions, 0 deletions