* [linux-next:master 2147/2532] arch/s390/include/asm/hugetlb.h:46:34: error: redefinition of 'arch_clear_hugetlb_flags'
@ 2024-03-29 7:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-29 7:05 UTC (permalink / raw)
To: Matthew Wilcox (Oracle)
Cc: oe-kbuild-all, Linux Memory Management List, Andrew Morton
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: a6bd6c9333397f5a0e2667d4d82fef8c970108f2
commit: 34ffd5e56690f9826603cd51e27df29dc5c286a6 [2147/2532] mm: convert arch_clear_hugepage_flags to take a folio
config: s390-defconfig (https://download.01.org/0day-ci/archive/20240329/202403291503.yoAZQm7A-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240329/202403291503.yoAZQm7A-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403291503.yoAZQm7A-lkp@intel.com/
Note: the linux-next/master HEAD a6bd6c9333397f5a0e2667d4d82fef8c970108f2 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
In file included from include/linux/hugetlb.h:828,
from include/linux/migrate.h:8,
from include/linux/balloon_compaction.h:41,
from drivers/virtio/virtio_balloon.c:16:
>> arch/s390/include/asm/hugetlb.h:46:34: error: redefinition of 'arch_clear_hugetlb_flags'
46 | #define arch_clear_hugetlb_flags arch_clear_hugetlb_flags
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/hugetlb.h:840:20: note: in expansion of macro 'arch_clear_hugetlb_flags'
840 | static inline void arch_clear_hugetlb_flags(struct folio *folio) { }
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/hugetlb.h:42:20: note: previous definition of 'arch_clear_hugetlb_flags' with type 'void(struct folio *)'
42 | static inline void arch_clear_hugetlb_flags(struct folio *folio)
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/arch_clear_hugetlb_flags +46 arch/s390/include/asm/hugetlb.h
41
42 static inline void arch_clear_hugetlb_flags(struct folio *folio)
43 {
44 clear_bit(PG_arch_1, &folio->flags);
45 }
> 46 #define arch_clear_hugetlb_flags arch_clear_hugetlb_flags
47
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-29 7:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-29 7:05 [linux-next:master 2147/2532] arch/s390/include/asm/hugetlb.h:46:34: error: redefinition of 'arch_clear_hugetlb_flags' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox