[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202209211205.av57IQNU-lkp@intel.com>
Date: Wed, 21 Sep 2022 12:30:17 +0800
From: kernel test robot <lkp@...el.com>
To: Sidhartha Kumar <sidhartha.kumar@...cle.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Shuah Khan <skhan@...uxfoundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>,
Sasha Levin <sashal@...nel.org>
Subject: [linux-stable-rc:linux-5.15.y 5881/9999] mremap_test.c:126:13:
error: redefinition of 'is_remap_region_valid'
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@...el.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
Powered by blists - more mailing lists