CC: [email protected]
CC: [email protected]
TO: Ard Biesheuvel <[email protected]>
CC: Ingo Molnar <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   ed8780e3f2ecc82645342d070c6b4e530532e680
commit: ea5e1919b44f09fce72d919fbb87f9611fc700a6 efi/x86: Simplify mixed mode 
call wrapper
date:   10 months ago
:::::: branch date: 12 hours ago
:::::: commit date: 10 months ago
config: x86_64-randconfig-s032-20201028 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-56-gc09e8239-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ea5e1919b44f09fce72d919fbb87f9611fc700a6
        git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ea5e1919b44f09fce72d919fbb87f9611fc700a6
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


"sparse warnings: (new ones prefixed by >>)"
   arch/x86/platform/efi/efi_64.c: note: in included file (through 
include/linux/mmzone.h, include/linux/gfp.h, include/linux/mm.h):
>> include/linux/spinlock.h:393:9: sparse: sparse: context imbalance in 
>> 'efi_thunk_set_variable_nonblocking' - wrong count at exit
   arch/x86/platform/efi/efi_64.c:960:1: sparse: sparse: context imbalance in 
'efi_thunk_query_variable_info_nonblocking' - different lock contexts for basic 
block

vim +/efi_thunk_set_variable_nonblocking +393 include/linux/spinlock.h

c2f21ce2e31286 Thomas Gleixner 2009-12-02  390  
3490565b633c70 Denys Vlasenko  2015-07-13  391  static __always_inline void 
spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)
c2f21ce2e31286 Thomas Gleixner 2009-12-02  392  {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @393          
raw_spin_unlock_irqrestore(&lock->rlock, flags);
c2f21ce2e31286 Thomas Gleixner 2009-12-02  394  }
c2f21ce2e31286 Thomas Gleixner 2009-12-02  395  

:::::: The code at line 393 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new 
raw_spinlock

:::::: TO: Thomas Gleixner <[email protected]>
:::::: CC: Thomas Gleixner <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to