linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: [linux-next:master 2147/2532] arch/s390/include/asm/hugetlb.h:46:34: error: redefinition of 'arch_clear_hugetlb_flags'
Date: Fri, 29 Mar 2024 15:05:56 +0800	[thread overview]
Message-ID: <202403291503.yoAZQm7A-lkp@intel.com> (raw)

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


                 reply	other threads:[~2024-03-29  7:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202403291503.yoAZQm7A-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox