* [mark:arm64/uaccess/fixes 1/4] lib/usercopy_kunit.c:144:6: warning: no previous prototype for 'usercopy_test_exit'
@ 2023-03-15 12:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-15 12:13 UTC (permalink / raw)
To: Mark Rutland; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/uaccess/fixes
head: bcab174e50dd95f92848c50fdfec65390e201a4b
commit: ec0cb0c84a9b083ec60a9d601f96fdf1eac85bb6 [1/4] lib: test copy_{to,from}_user()
config: arm-randconfig-r046-20230313 (https://download.01.org/0day-ci/archive/20230315/202303152041.rPmsbM7D-lkp@intel.com/config)
compiler: arm-linux-gnueabi-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/mark/linux.git/commit/?id=ec0cb0c84a9b083ec60a9d601f96fdf1eac85bb6
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark arm64/uaccess/fixes
git checkout ec0cb0c84a9b083ec60a9d601f96fdf1eac85bb6
# 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=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm 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/202303152041.rPmsbM7D-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> lib/usercopy_kunit.c:144:6: warning: no previous prototype for 'usercopy_test_exit' [-Wmissing-prototypes]
144 | void usercopy_test_exit(struct kunit *test)
| ^~~~~~~~~~~~~~~~~~
vim +/usercopy_test_exit +144 lib/usercopy_kunit.c
143
> 144 void usercopy_test_exit(struct kunit *test)
145 {
146 struct usercopy_env *env = test->priv;
147
148 kunmap(env->ubuf);
149
150 usercopy_ubuf_unpin(env);
151 usercopy_mm_free(env->mm);
152 usercopy_env_free(env);
153 }
154
--
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-03-15 12:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 12:13 [mark:arm64/uaccess/fixes 1/4] lib/usercopy_kunit.c:144:6: warning: no previous prototype for 'usercopy_test_exit' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.