CC: kbuild-...@lists.01.org
CC: linux-ker...@vger.kernel.org
TO: Nicholas Piggin <npig...@gmail.com>
CC: Peter Zijlstra <pet...@infradead.org>
CC: "Steven Rostedt (VMware)" <rost...@goodmis.org>
CC: Thomas Gleixner <t...@linutronix.de>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   581cb3a26baf846ee9636214afaa5333919875b1
commit: 044d0d6de9f50192f9697583504a382347ee95ca lockdep: Only trace IRQ edges
date:   2 weeks ago
:::::: branch date: 9 hours ago
:::::: commit date: 2 weeks ago
config: arc-randconfig-s032-20200911 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 044d0d6de9f50192f9697583504a382347ee95ca
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arc 

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


sparse warnings: (new ones prefixed by >>)

   kernel/trace/ring_buffer.c:923:32: sparse: sparse: incorrect type in return 
expression (different base types) @@     expected restricted __poll_t @@     
got int @@
   kernel/trace/ring_buffer.c:923:32: sparse:     expected restricted __poll_t
   kernel/trace/ring_buffer.c:923:32: sparse:     got int
   kernel/trace/ring_buffer.c: note: in included file (through 
arch/arc/include/asm/irqflags.h, include/linux/irqflags.h, 
arch/arc/include/asm/smp.h, ...):
>> arch/arc/include/asm/irqflags-compact.h:145:19: sparse: sparse: context 
>> imbalance in 'ring_buffer_peek' - different lock contexts for basic block
>> arch/arc/include/asm/irqflags-compact.h:145:19: sparse: sparse: context 
>> imbalance in 'ring_buffer_consume' - different lock contexts for basic block
>> arch/arc/include/asm/irqflags-compact.h:145:19: sparse: sparse: context 
>> imbalance in 'ring_buffer_empty' - different lock contexts for basic block
>> arch/arc/include/asm/irqflags-compact.h:145:19: sparse: sparse: context 
>> imbalance in 'ring_buffer_empty_cpu' - different lock contexts for basic 
>> block

# 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=044d0d6de9f50192f9697583504a382347ee95ca
git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 044d0d6de9f50192f9697583504a382347ee95ca
vim +/ring_buffer_peek +145 arch/arc/include/asm/irqflags-compact.h

5793e273a134331 Vineet Gupta 2015-03-05  141  
5793e273a134331 Vineet Gupta 2015-03-05  142  /*
5793e273a134331 Vineet Gupta 2015-03-05  143   * Query IRQ state
5793e273a134331 Vineet Gupta 2015-03-05  144   */
5793e273a134331 Vineet Gupta 2015-03-05 @145  static inline int 
arch_irqs_disabled_flags(unsigned long flags)
5793e273a134331 Vineet Gupta 2015-03-05  146  {
5793e273a134331 Vineet Gupta 2015-03-05  147    return !(flags & (STATUS_E1_MASK
5793e273a134331 Vineet Gupta 2015-03-05  148  #ifdef 
CONFIG_ARC_COMPACT_IRQ_LEVELS
5793e273a134331 Vineet Gupta 2015-03-05  149                    | STATUS_E2_MASK
5793e273a134331 Vineet Gupta 2015-03-05  150  #endif
5793e273a134331 Vineet Gupta 2015-03-05  151            ));
5793e273a134331 Vineet Gupta 2015-03-05  152  }
5793e273a134331 Vineet Gupta 2015-03-05  153  

:::::: The code at line 145 was first introduced by commit
:::::: 5793e273a134331d05ed904e5be3b31ccfca54c1 ARC: intc: split into ARCompact 
ISA specific, common bits

:::::: TO: Vineet Gupta <vgu...@synopsys.com>
:::::: CC: Vineet Gupta <vgu...@synopsys.com>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to