lkml.org 
[lkml]   [2022]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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@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

\
 
 \ /
  Last update: 2022-09-21 06:31    [W:0.021 / U:0.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site