On Thu Jun 27, 2024 at 8:38 AM EDT, ran xiaokai wrote: > > Hi ran, > > > > kernel test robot noticed the following build errors: > > > > [auto build test ERROR on akpm-mm/mm-everything] > > [also build test ERROR on linus/master v6.10-rc5 next-20240625] > > [If your patch is applied to the wrong git tree, kindly drop us a note. > > And when submitting patch, we suggest to use '--base' as documented in > > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > > > url: https://github.com/intel-lab-lkp/linux/commits/ran-xiaokai/mm-Constify-folio_order-folio_test_pmd_mappable/20240626-113027 > > base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything > > patch link: https://lore.kernel.org/r/20240626024924.1155558-3-ranxiaokai627%40163.com > > patch subject: [PATCH 2/2] kpageflags: fix wrong KPF_THP on non-pmd-mappable compound pages > > config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20240626/202406262300.iAURISyJ-lkp@xxxxxxxxx/config) > > compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240626/202406262300.iAURISyJ-lkp@xxxxxxxxx/reproduce) > > > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > > the same patch/commit), kindly add following tags > > | Reported-by: kernel test robot <lkp@xxxxxxxxx> > > | Closes: https://lore.kernel.org/oe-kbuild-all/202406262300.iAURISyJ-lkp@xxxxxxxxx/ > > > > All errors (new ones prefixed by >>): > > > > >> fs/proc/page.c:151:35: error: passing 'const struct folio *' to parameter of type 'struct folio *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > > 151 | else if (folio_test_pmd_mappable(folio)) { > > | ^~~~~ > > include/linux/huge_mm.h:438:58: note: passing argument to parameter 'folio' here > > 438 | static inline bool folio_test_pmd_mappable(struct folio *folio) > > | ^ > > 1 error generated. > > Hi, > > This patch is the second patch of the serial: > https://lore.kernel.org/lkml/20240626024924.1155558-1-ranxiaokai627@xxxxxxx/ > > and it relies on the first patch: > https://lore.kernel.org/lkml/20240626024924.1155558-2-ranxiaokai627@xxxxxxx/ > > and it seems the first patch is not applied. > Or in this case, we should not split these two patches? No, this is the definition when THP is disabled. You only changed the definition when THP is enabled. -- Best Regards, Yan, Zi
Attachment:
signature.asc
Description: PGP signature