On Tue, Jun 15, 2021 at 11:58:36PM +0800, kernel test robot wrote:
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross
ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> mm/hugetlb.c:1591:9: warning: no previous prototype for function
'hugetlb_basepage_index' [-Wmissing-prototypes]
pgoff_t hugetlb_basepage_index(struct page *page)
So clang requires the prototype to still be in scope, while gcc doesn't.
Does one of our clangers want to file a bug about that?