linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>,
	Sasha Levin <sashal@kernel.org>
Subject: [linux-stable-rc:linux-5.15.y 5881/9999] mremap_test.c:126:13: error: redefinition of 'is_remap_region_valid'
Date: Wed, 21 Sep 2022 12:30:17 +0800	[thread overview]
Message-ID: <202209211205.av57IQNU-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
head:   820b689b4a7a6ca1b4fdabf26a17196a2e379a97
commit: 0b4e16093e081a3ab08b0d6cedf79b249f41b248 [5881/9999] selftest/vm: verify remap destination address in mremap_test
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce:
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=0b4e16093e081a3ab08b0d6cedf79b249f41b248
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.15.y
        git checkout 0b4e16093e081a3ab08b0d6cedf79b249f41b248
        make O=/tmp/kselftest headers
        make O=/tmp/kselftest -C tools/testing/selftests

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>

Note: the linux-stable-rc/linux-5.15.y HEAD 820b689b4a7a6ca1b4fdabf26a17196a2e379a97 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> mremap_test.c:126:13: error: redefinition of 'is_remap_region_valid'
     126 | static bool is_remap_region_valid(void *addr, unsigned long long size)
         |             ^~~~~~~~~~~~~~~~~~~~~
   mremap_test.c:73:13: note: previous definition of 'is_remap_region_valid' with type '_Bool(void *, long long unsigned int)'
      73 | static bool is_remap_region_valid(void *addr, unsigned long long size)
         |             ^~~~~~~~~~~~~~~~~~~~~
   mremap_test.c:147:27: error: redefinition of 'get_mmap_min_addr'
     147 | static unsigned long long get_mmap_min_addr(void)
         |                           ^~~~~~~~~~~~~~~~~
   mremap_test.c:94:27: note: previous definition of 'get_mmap_min_addr' with type 'long long unsigned int(void)'
      94 | static unsigned long long get_mmap_min_addr(void)
         |                           ^~~~~~~~~~~~~~~~~
   mremap_test.c:94:27: warning: 'get_mmap_min_addr' defined but not used [-Wunused-function]
   mremap_test.c:73:13: warning: 'is_remap_region_valid' defined but not used [-Wunused-function]
      73 | static bool is_remap_region_valid(void *addr, unsigned long long size)
         |             ^~~~~~~~~~~~~~~~~~~~~

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp


                 reply	other threads:[~2022-09-21  4:31 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=202209211205.av57IQNU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=sashal@kernel.org \
    --cc=sidhartha.kumar@oracle.com \
    --cc=skhan@linuxfoundation.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