Hi Eric,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on kvms390/next]
[also build test WARNING on kvm/queue mst-vhost/linux-next v5.15 next-20211111]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Eric-Farman/s390x-Improvements-t...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git next
config: s390-defconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/33d624410d4c044eae0849494466c6084...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Eric-Farman/s390x-Improvements-to-SIGP-handling-KVM/20211111-043552
git checkout 33d624410d4c044eae0849494466c608432cd117
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/s390/kvm/intercept.c:20:
arch/s390/kvm/kvm-s390.h: In function 'kvm_s390_vcpu_set_sigp_busy':
> arch/s390/kvm/kvm-s390.h:93:71: warning: '?:' using
integer constants in boolean context [-Wint-in-bool-context]
93 |
return (atomic_cmpxchg(&vcpu->arch.sigp_busy, 0, 1) == 0) ? 0 : -EBUSY;
--
In file included from arch/s390/kvm/kvm-s390.c:49:
arch/s390/kvm/kvm-s390.h: In function 'kvm_s390_vcpu_set_sigp_busy':
> arch/s390/kvm/kvm-s390.h:93:71: warning: '?:' using
integer constants in boolean context [-Wint-in-bool-context]
93 |
return (atomic_cmpxchg(&vcpu->arch.sigp_busy, 0, 1) == 0) ? 0 : -EBUSY;
In file included from arch/s390/kvm/trace.h:462,
from arch/s390/kvm/kvm-s390.c:53:
include/trace/define_trace.h: At top level:
include/trace/define_trace.h:95:42: fatal error: ./trace.h: No such file or directory
95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
| ^
compilation terminated.
vim +93 arch/s390/kvm/kvm-s390.h
89
90 static inline bool kvm_s390_vcpu_set_sigp_busy(struct kvm_vcpu *vcpu)
91 {
92 /* Return zero for success, or -EBUSY if another vcpu won */
93 return (atomic_cmpxchg(&vcpu->arch.sigp_busy, 0, 1) == 0)
? 0 : -EBUSY;
94 }
95
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org