From: kernel test robot <lkp@intel.com>
To: Athira Rajeev <atrajeev@linux.ibm.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Madhavan Srinivasan <maddy@linux.ibm.com>
Subject: [linuxppc:next-test 32/41] arch/powerpc/platforms/pseries/htmdump.c:138:6: error: call to undeclared function 'is_kvm_guest'; ISO C99 and later do not support implicit function declarations
Date: Tue, 6 May 2025 13:18:00 +0800 [thread overview]
Message-ID: <202505061324.elUl4njU-lkp@intel.com> (raw)
tree: https://github.com/linuxppc/linux next-test
head: 5a821e2d69e26b51b7f3740b6b0c3462b8cacaff
commit: 6e204ef3b73e41e46784fdd298c3d81caed84873 [32/41] powerpc/pseries/htmdump: Add htm_hcall_wrapper to integrate other htm operations
config: powerpc64-randconfig-003-20250506 (https://download.01.org/0day-ci/archive/20250506/202505061324.elUl4njU-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250506/202505061324.elUl4njU-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/202505061324.elUl4njU-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/powerpc/platforms/pseries/htmdump.c:138:6: error: call to undeclared function 'is_kvm_guest'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
138 | if (is_kvm_guest()) {
| ^
1 error generated.
vim +/is_kvm_guest +138 arch/powerpc/platforms/pseries/htmdump.c
134
135 static int __init htmdump_init(void)
136 {
137 /* Disable on kvm guest */
> 138 if (is_kvm_guest()) {
139 pr_info("htmdump not supported inside KVM guest\n");
140 return -EOPNOTSUPP;
141 }
142
143 if (htmdump_init_debugfs())
144 return -ENOMEM;
145
146 return 0;
147 }
148
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-05-06 5:18 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=202505061324.elUl4njU-lkp@intel.com \
--to=lkp@intel.com \
--cc=atrajeev@linux.ibm.com \
--cc=llvm@lists.linux.dev \
--cc=maddy@linux.ibm.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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