From: kernel test robot <lkp@intel.com>
To: Samuel Holland <samuel.holland@sifive.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Christoph Hellwig <hch@lst.de>
Subject: [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
Date: Fri, 29 Mar 2024 12:05:14 +0800 [thread overview]
Message-ID: <202403291239.zVJl8cpJ-lkp@intel.com> (raw)
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
reply other threads:[~2024-03-29 4:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202403291239.zVJl8cpJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=hch@lst.de \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=samuel.holland@sifive.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).