* [linux-next:master 1004/2056] lib/maple_tree.c:6251:7: warning: no previous prototype for 'mas_find_range_rev'
@ 2023-05-13 4:47 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-05-13 4:47 UTC (permalink / raw)
To: Liam R. Howlett
Cc: oe-kbuild-all, Linux Memory Management List, Andrew Morton
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e922ba281a8d84f640d8c8e18a385d032c19e185
commit: ffd97c0e1cac202f40acf8dfbc1c0664295c4f44 [1004/2056] maple_tree: add mas_prev_range() and mas_find_range_rev interface
config: m68k-defconfig (https://download.01.org/0day-ci/archive/20230513/202305131224.zRZiy5ir-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ffd97c0e1cac202f40acf8dfbc1c0664295c4f44
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout ffd97c0e1cac202f40acf8dfbc1c0664295c4f44
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305131224.zRZiy5ir-lkp@intel.com/
All warnings (new ones prefixed by >>):
lib/maple_tree.c:4606:7: warning: no previous prototype for 'mas_prev_slot' [-Wmissing-prototypes]
4606 | void *mas_prev_slot(struct ma_state *mas, unsigned long min, bool empty)
| ^~~~~~~~~~~~~
lib/maple_tree.c:4758:7: warning: no previous prototype for 'mas_next_slot' [-Wmissing-prototypes]
4758 | void *mas_next_slot(struct ma_state *mas, unsigned long max, bool empty)
| ^~~~~~~~~~~~~
>> lib/maple_tree.c:6251:7: warning: no previous prototype for 'mas_find_range_rev' [-Wmissing-prototypes]
6251 | void *mas_find_range_rev(struct ma_state *mas, unsigned long min)
| ^~~~~~~~~~~~~~~~~~
vim +/mas_find_range_rev +6251 lib/maple_tree.c
6237
6238 /**
6239 * mas_find_range_rev: On the first call, find the first non-null entry at or
6240 * below mas->index down to %min. Otherwise advance to the previous slot after
6241 * mas->index down to %min.
6242 * @mas: The maple state
6243 * @min: The minimum value to check.
6244 *
6245 * Must hold rcu_read_lock or the write lock.
6246 * If an entry exists, last and index are updated accordingly.
6247 * May set @mas->node to MAS_NONE.
6248 *
6249 * Return: The entry or %NULL.
6250 */
> 6251 void *mas_find_range_rev(struct ma_state *mas, unsigned long min)
6252 {
6253 void *entry;
6254
6255 if (mas_find_rev_setup(mas, min, &entry))
6256 return entry;
6257
6258 /* Retries on dead nodes handled by mas_prev_slot */
6259 return mas_prev_slot(mas, min, true);
6260 }
6261 EXPORT_SYMBOL_GPL(mas_find_range_rev);
6262
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-13 4:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-13 4:47 [linux-next:master 1004/2056] lib/maple_tree.c:6251:7: warning: no previous prototype for 'mas_find_range_rev' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox