[linux-next:master 2147/2532] arch/s390/include/asm/hugetlb.h:46:34: error: redefinition of 'arch_clear_hugetlb_flags'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@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/202403291503.yoAZQm7A-lkp@xxxxxxxxx/

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux