linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [pm:bleeding-edge 123/124] drivers/cpuidle/governors/haltpoll.c:144:48: error: 'KVM_HINTS_REALTIME' undeclared; did you mean 'VM_DIRTY_RATIO'?
@ 2019-08-29  0:46 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-08-29  0:46 UTC (permalink / raw)
  To: Wanpeng Li; +Cc: kbuild-all, linux-acpi, devel, linux-pm, Rafael J. Wysocki

[-- Attachment #1: Type: text/plain, Size: 1855 bytes --]

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   f9b8fad55c4180318611b8b8aeb9f03dc5ef8df6
commit: 7980f6e776106068f98535026c62569370947b09 [123/124] cpuidle: haltpoll: Enable kvm guest polling when dedicated physical CPUs are available
config: powerpc-allmodconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 7980f6e776106068f98535026c62569370947b09
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/cpuidle/governors/haltpoll.c: In function 'init_haltpoll':
>> drivers/cpuidle/governors/haltpoll.c:144:48: error: 'KVM_HINTS_REALTIME' undeclared (first use in this function); did you mean 'VM_DIRTY_RATIO'?
     if (kvm_para_available() && kvm_para_has_hint(KVM_HINTS_REALTIME))
                                                   ^~~~~~~~~~~~~~~~~~
                                                   VM_DIRTY_RATIO
   drivers/cpuidle/governors/haltpoll.c:144:48: note: each undeclared identifier is reported only once for each function it appears in

vim +144 drivers/cpuidle/governors/haltpoll.c

   141	
   142	static int __init init_haltpoll(void)
   143	{
 > 144		if (kvm_para_available() && kvm_para_has_hint(KVM_HINTS_REALTIME))
   145			return cpuidle_register_governor(&haltpoll_governor);
   146	
   147		return 0;
   148	}
   149	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 62274 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-29  2:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-29  0:46 [pm:bleeding-edge 123/124] drivers/cpuidle/governors/haltpoll.c:144:48: error: 'KVM_HINTS_REALTIME' undeclared; did you mean 'VM_DIRTY_RATIO'? kbuild 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).