All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/x86/kvm/svm/svm_ops.h:41:0: warning: syntax error [syntaxError]
@ 2021-07-10  7:09 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-07-10  7:09 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Sean Christopherson <seanjc@google.com>
CC: Paolo Bonzini <pbonzini@redhat.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   50be9417e23af5a8ac860d998e1e3f06b8fd79d7
commit: 35a7831912f455d7d19b31cd9300e73f585a077b KVM: SVM: Use asm goto to handle unexpected #UD on SVM instructions
date:   5 months ago
:::::: branch date: 12 hours ago
:::::: commit date: 5 months ago
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

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


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

       ^
>> arch/x86/kvm/x86.c:4464:29: warning: Opposite expression on both sides of '&'. [oppositeExpression]
     u64 xfeature_mask = valid & -valid;
                               ^
   arch/x86/kvm/x86.c:4507:29: warning: Opposite expression on both sides of '&'. [oppositeExpression]
     u64 xfeature_mask = valid & -valid;
                               ^
>> arch/x86/kvm/x86.c:467:11: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 464. [shiftTooManyBitsSigned]
    mask = 1 << vector;
             ^
   arch/x86/kvm/x86.c:464:21: note: Assuming that condition 'vector>31' is not redundant
    if (WARN_ON(vector > 31 || vector == NMI_VECTOR))
                       ^
   arch/x86/kvm/x86.c:467:11: note: Shift
    mask = 1 << vector;
             ^
>> arch/x86/kvm/x86.c:6112:6: warning: Buffer is accessed out of bounds: kvm_emulate_prefix [bufferAccessOutOfBounds]
        memcmp(sig, kvm_emulate_prefix, sizeof(sig)) == 0) {
        ^
--
   In file included from arch/x86/kvm/svm/sev.c:
>> arch/x86/kvm/svm/svm_ops.h:41:0: warning: syntax error [syntaxError]
   
   ^

vim +41 arch/x86/kvm/svm/svm_ops.h

35a7831912f455 Sean Christopherson 2020-12-30  38  
35a7831912f455 Sean Christopherson 2020-12-30  39  static inline void clgi(void)
35a7831912f455 Sean Christopherson 2020-12-30  40  {
35a7831912f455 Sean Christopherson 2020-12-30 @41  	svm_asm(clgi);
35a7831912f455 Sean Christopherson 2020-12-30  42  }
35a7831912f455 Sean Christopherson 2020-12-30  43  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* arch/x86/kvm/svm/svm_ops.h:41:0: warning: syntax error [syntaxError]
@ 2021-08-16 18:30 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-08-16 18:30 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Sean Christopherson <seanjc@google.com>
CC: Paolo Bonzini <pbonzini@redhat.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7c60610d476766e128cc4284bb6349732cbd6606
commit: 35a7831912f455d7d19b31cd9300e73f585a077b KVM: SVM: Use asm goto to handle unexpected #UD on SVM instructions
date:   6 months ago
:::::: branch date: 19 hours ago
:::::: commit date: 6 months ago
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

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


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

   In file included from arch/x86/kvm/svm/sev.c:
>> arch/x86/kvm/svm/svm_ops.h:41:0: warning: syntax error [syntaxError]
   
   ^

vim +41 arch/x86/kvm/svm/svm_ops.h

35a7831912f455 Sean Christopherson 2020-12-30  38  
35a7831912f455 Sean Christopherson 2020-12-30  39  static inline void clgi(void)
35a7831912f455 Sean Christopherson 2020-12-30  40  {
35a7831912f455 Sean Christopherson 2020-12-30 @41  	svm_asm(clgi);
35a7831912f455 Sean Christopherson 2020-12-30  42  }
35a7831912f455 Sean Christopherson 2020-12-30  43  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* arch/x86/kvm/svm/svm_ops.h:41:0: warning: syntax error [syntaxError]
@ 2021-05-31 10:49 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-05-31 10:49 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Sean Christopherson <seanjc@google.com>
CC: Paolo Bonzini <pbonzini@redhat.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   8124c8a6b35386f73523d27eacb71b5364a68c4c
commit: 35a7831912f455d7d19b31cd9300e73f585a077b KVM: SVM: Use asm goto to handle unexpected #UD on SVM instructions
date:   4 months ago
:::::: branch date: 13 hours ago
:::::: commit date: 4 months ago
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

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


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

   In file included from arch/x86/kvm/svm/svm.c:
>> arch/x86/kvm/svm/svm_ops.h:41:0: warning: syntax error [syntaxError]
   
   ^

vim +41 arch/x86/kvm/svm/svm_ops.h

35a7831912f455 Sean Christopherson 2020-12-30  38  
35a7831912f455 Sean Christopherson 2020-12-30  39  static inline void clgi(void)
35a7831912f455 Sean Christopherson 2020-12-30  40  {
35a7831912f455 Sean Christopherson 2020-12-30 @41  	svm_asm(clgi);
35a7831912f455 Sean Christopherson 2020-12-30  42  }
35a7831912f455 Sean Christopherson 2020-12-30  43  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-16 18:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-10  7:09 arch/x86/kvm/svm/svm_ops.h:41:0: warning: syntax error [syntaxError] kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-08-16 18:30 kernel test robot
2021-05-31 10:49 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.