linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [akpm-mm:mm-nonmm-unstable 62/62] lib/test_fpu_glue.c:41:7: error: call to undeclared function 'kernel_fpu_available'; ISO C99 and later do not support implicit function declarations
@ 2024-03-29  4:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-29  4:05 UTC (permalink / raw)
  To: Samuel Holland
  Cc: llvm, 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-buildonly-randconfig-003-20240329 (https://download.01.org/0day-ci/archive/20240329/202403291239.zVJl8cpJ-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240329/202403291239.zVJl8cpJ-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/202403291239.zVJl8cpJ-lkp@intel.com/

All errors (new ones prefixed by >>):

>> lib/test_fpu_glue.c:41:7: error: call to undeclared function 'kernel_fpu_available'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      41 |         if (!kernel_fpu_available())
         |              ^
   1 error generated.


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:05 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:05 [akpm-mm:mm-nonmm-unstable 62/62] lib/test_fpu_glue.c:41:7: error: call to undeclared function 'kernel_fpu_available'; ISO C99 and later do not support implicit function declarations 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;
as well as URLs for NNTP newsgroup(s).