* [akpm-mm:mm-nonmm-unstable 62/62] lib/test_fpu_glue.c:41:14: error: implicit declaration of function 'kernel_fpu_available'
@ 2024-03-29 4:28 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-29 4:28 UTC (permalink / raw)
To: Samuel Holland
Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List,
Christoph Hellwig
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable
head: b065e14a3960a495216a032e6d383c104147c9ef
commit: b065e14a3960a495216a032e6d383c104147c9ef [62/62] selftests/fpu: allow building on other architectures
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20240329/202403291254.0XqikdBT-lkp@intel.com/config)
compiler: gcc-12 (Ubuntu 12.3.0-9ubuntu2) 12.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240329/202403291254.0XqikdBT-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403291254.0XqikdBT-lkp@intel.com/
All errors (new ones prefixed by >>):
lib/test_fpu_glue.c: In function 'test_fpu_init':
>> lib/test_fpu_glue.c:41:14: error: implicit declaration of function 'kernel_fpu_available' [-Werror=implicit-function-declaration]
41 | if (!kernel_fpu_available())
| ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/kernel_fpu_available +41 lib/test_fpu_glue.c
38
39 static int __init test_fpu_init(void)
40 {
> 41 if (!kernel_fpu_available())
42 return -EINVAL;
43
44 selftest_dir = debugfs_create_dir("selftest_helpers", NULL);
45 if (!selftest_dir)
46 return -ENOMEM;
47
48 debugfs_create_file_unsafe("test_fpu", 0444, selftest_dir, NULL,
49 &test_fpu_fops);
50
51 return 0;
52 }
53
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-29 4:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-29 4:28 [akpm-mm:mm-nonmm-unstable 62/62] lib/test_fpu_glue.c:41:14: error: implicit declaration of function 'kernel_fpu_available' 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.