CC: [email protected] CC: [email protected] TO: Nicholas Piggin <[email protected]> CC: Peter Zijlstra <[email protected]> CC: "Steven Rostedt (VMware)" <[email protected]> CC: Thomas Gleixner <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3650b228f83adda7e5ee532e2b90429c03f7b9ec commit: 044d0d6de9f50192f9697583504a382347ee95ca lockdep: Only trace IRQ edges date: 9 weeks ago :::::: branch date: 12 hours ago :::::: commit date: 9 weeks ago config: arc-randconfig-s032-20201026 (attached as .config) compiler: arceb-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.3-56-gc09e8239-dirty # 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 # 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 <[email protected]> "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, include/linux/spinlock.h, ...): >> arch/arc/include/asm/irqflags-arcv2.h:122:19: sparse: sparse: context >> imbalance in 'ring_buffer_peek' - different lock contexts for basic block >> arch/arc/include/asm/irqflags-arcv2.h:122:19: sparse: sparse: context >> imbalance in 'ring_buffer_consume' - different lock contexts for basic block >> arch/arc/include/asm/irqflags-arcv2.h:122:19: sparse: sparse: context >> imbalance in 'ring_buffer_empty' - different lock contexts for basic block >> arch/arc/include/asm/irqflags-arcv2.h:122:19: sparse: sparse: context >> imbalance in 'ring_buffer_empty_cpu' - different lock contexts for basic >> block vim +/ring_buffer_peek +122 arch/arc/include/asm/irqflags-arcv2.h 820970a5aa3c98 Vineet Gupta 2015-03-06 118 820970a5aa3c98 Vineet Gupta 2015-03-06 119 /* 820970a5aa3c98 Vineet Gupta 2015-03-06 120 * Query IRQ state 820970a5aa3c98 Vineet Gupta 2015-03-06 121 */ 820970a5aa3c98 Vineet Gupta 2015-03-06 @122 static inline int arch_irqs_disabled_flags(unsigned long flags) 820970a5aa3c98 Vineet Gupta 2015-03-06 123 { d9676fa152c83b Evgeny Voevodin 2016-03-23 124 return !(flags & CLRI_STATUS_IE_MASK); 820970a5aa3c98 Vineet Gupta 2015-03-06 125 } 820970a5aa3c98 Vineet Gupta 2015-03-06 126 :::::: The code at line 122 was first introduced by commit :::::: 820970a5aa3c98be26e1df64da4b93294d20d4e7 ARCv2: [intc] HS38 core interrupt controller :::::: TO: Vineet Gupta <[email protected]> :::::: CC: Vineet Gupta <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
