On Wed, 01 Feb 2023 01:21:25 +0800 kernel test robot <lkp@xxxxxxxxx> wrote: > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git pending-fixes > branch HEAD: 70d29276a90d181584b2ed5c83079fad7e2cd6b6 Merge branch 'for-linux-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc > > Error/Warning: (recently discovered and may have been fixed) > > include/linux/page_ref.h:92:19: error: static declaration of 'page_count' follows non-static declaration > This is fixed by commit d8afb24744560275eb80caca36b6dbe5f680043e Author: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Date: Sun Jan 29 13:08:55 2023 -0800 mm-hugetlb-proc-check-for-hugetlb-shared-pmd-in-proc-pid-smaps-fix-2 hugetlb.h: include page_ref.h for page_count() which for some reason isn't present in the tree you tested.