CC: [email protected]
CC: [email protected]
TO: Christophe Leroy <[email protected]>
CC: Michael Ellerman <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   b791d1bdf9212d944d749a5c7ff6febdba241771
commit: b020aa9d1e875c1c91b1390acdf42320e7060d84 powerpc: cleanup hw_irq.h
date:   7 months ago
:::::: branch date: 13 hours ago
:::::: commit date: 7 months ago
config: powerpc64-randconfig-s031-20200612 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-250-g42323db3-dirty
        git checkout b020aa9d1e875c1c91b1390acdf42320e7060d84
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=powerpc64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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/powerpc/include/asm/hw_irq.h:293:17: sparse: sparse: context imbalance 
>> in 'ulite_console_write' - wrong count at exit
   arch/powerpc/include/asm/io.h:145:1: sparse: sparse: dereference of noderef 
expression
   arch/powerpc/include/asm/io.h:150:1: sparse: sparse: dereference of noderef 
expression
--
   arch/powerpc/include/asm/io.h:149:1: sparse: sparse: dereference of noderef 
expression
   arch/powerpc/include/asm/io.h:144:1: sparse: sparse: dereference of noderef 
expression
   arch/powerpc/include/asm/io.h:150:1: sparse: sparse: dereference of noderef 
expression
   arch/powerpc/include/asm/io.h:145:1: sparse: sparse: dereference of noderef 
expression
>> arch/powerpc/include/asm/hw_irq.h:293:17: sparse: sparse: context imbalance 
>> in 'serial8250_console_write' - wrong count at exit
--
>> arch/powerpc/include/asm/hw_irq.h:293:17: sparse: sparse: context imbalance 
>> in 'cpm_uart_console_write' - unexpected unlock

# 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b020aa9d1e875c1c91b1390acdf42320e7060d84
git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout b020aa9d1e875c1c91b1390acdf42320e7060d84
vim +/ulite_console_write +293 arch/powerpc/include/asm/hw_irq.h

df9ee29270c11d arch/powerpc/include/asm/hw_irq.h David Howells    2010-10-07  
287  
df9ee29270c11d arch/powerpc/include/asm/hw_irq.h David Howells    2010-10-07  
288  static inline void arch_local_irq_restore(unsigned long flags)
df9ee29270c11d arch/powerpc/include/asm/hw_irq.h David Howells    2010-10-07  
289  {
b020aa9d1e875c arch/powerpc/include/asm/hw_irq.h Christophe Leroy 2019-08-29  
290       if (IS_ENABLED(CONFIG_BOOKE))
b020aa9d1e875c arch/powerpc/include/asm/hw_irq.h Christophe Leroy 2019-08-29  
291               wrtee(flags);
b020aa9d1e875c arch/powerpc/include/asm/hw_irq.h Christophe Leroy 2019-08-29  
292       else
df9ee29270c11d arch/powerpc/include/asm/hw_irq.h David Howells    2010-10-07 
@293               mtmsr(flags);
df9ee29270c11d arch/powerpc/include/asm/hw_irq.h David Howells    2010-10-07  
294  }
^1da177e4c3f41 include/asm-ppc64/hw_irq.h        Linus Torvalds   2005-04-16  
295  

:::::: The code at line 293 was first introduced by commit
:::::: df9ee29270c11dba7d0fe0b83ce47a4d8e8d2101 Fix IRQ flag handling naming

:::::: TO: David Howells <[email protected]>
:::::: CC: David Howells <[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