From: kernel test robot <lkp@intel.com>
To: Davidlohr Bueso <dave@stgolabs.net>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Dave Jiang <dave.jiang@intel.com>
Subject: [djiang:cxl-security 1/19] include/linux/memregion.h:54:9: error: implicit declaration of function 'WARN_ON_ONCE'
Date: Thu, 22 Sep 2022 01:39:20 +0800 [thread overview]
Message-ID: <202209220119.QSB1o664-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git cxl-security
head: 3b2ea8468d5dbe2e7b61dcd86cc3aeadfe766d07
commit: d8fab77dd9512ae56e653afddbef9351da206679 [1/19] memregion: Add cpu_cache_invalidate_memregion() interface
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20220922/202209220119.QSB1o664-lkp@intel.com/config)
compiler: s390-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/djiang/linux.git/commit/?id=d8fab77dd9512ae56e653afddbef9351da206679
git remote add djiang https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git
git fetch --no-tags djiang cxl-security
git checkout d8fab77dd9512ae56e653afddbef9351da206679
# 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=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/cxl/core/region.c:3:
include/linux/memregion.h:52:5: warning: no previous prototype for 'cpu_cache_invalidate_memregion' [-Wmissing-prototypes]
52 | int cpu_cache_invalidate_memregion(int res_desc)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/memregion.h: In function 'cpu_cache_invalidate_memregion':
>> include/linux/memregion.h:54:9: error: implicit declaration of function 'WARN_ON_ONCE' [-Werror=implicit-function-declaration]
54 | WARN_ON_ONCE("CPU cache invalidation required");
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/WARN_ON_ONCE +54 include/linux/memregion.h
51
52 int cpu_cache_invalidate_memregion(int res_desc)
53 {
> 54 WARN_ON_ONCE("CPU cache invalidation required");
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next reply other threads:[~2022-09-21 17:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-21 17:39 kernel test robot [this message]
2022-09-21 21:44 ` Davidlohr Bueso
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=202209220119.QSB1o664-lkp@intel.com \
--to=lkp@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®