Messages in this thread | | | Date | Fri, 10 Jul 2020 17:56:38 +0800 | From | kernel test robot <> | Subject | arch/alpha/include/asm/irqflags.h:47:9: sparse: sparse: context imbalance in 'blogic_qcmd_lck' - unexpected unlock |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 42f82040ee66db13525dc6f14b8559890b2f4c1c commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH date: 8 months ago config: alpha-randconfig-s031-20200710 (attached as .config) compiler: alpha-linux-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-37-gc9676a3b-dirty git checkout 80591e61a0f7e88deaada69844e4a31280c4a38f # 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=alpha
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/scsi/BusLogic.c:3093:29: sparse: sparse: Using plain integer as NULL pointer >> arch/alpha/include/asm/irqflags.h:47:9: sparse: sparse: context imbalance in 'blogic_qcmd_lck' - unexpected unlock >> arch/alpha/include/asm/irqflags.h:47:9: sparse: sparse: context imbalance in 'blogic_resetadapter' - unexpected unlock -- drivers/net/ethernet/chelsio/cxgb3/sge.c:2369:50: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] rss @@ got restricted __be32 [assigned] [usertype] rss_hi @@ drivers/net/ethernet/chelsio/cxgb3/sge.c:2369:50: sparse: expected unsigned int [usertype] rss drivers/net/ethernet/chelsio/cxgb3/sge.c:2369:50: sparse: got restricted __be32 [assigned] [usertype] rss_hi drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:43: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __wsum [usertype] csum @@ got restricted __be32 [assigned] [usertype] rss_hi @@ drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:43: sparse: expected restricted __wsum [usertype] csum drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:43: sparse: got restricted __be32 [assigned] [usertype] rss_hi drivers/net/ethernet/chelsio/cxgb3/sge.c:2436:47: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] priority @@ got restricted __be32 [assigned] [usertype] rss_lo @@ drivers/net/ethernet/chelsio/cxgb3/sge.c:2436:47: sparse: expected unsigned int [usertype] priority drivers/net/ethernet/chelsio/cxgb3/sge.c:2436:47: sparse: got restricted __be32 [assigned] [usertype] rss_lo drivers/net/ethernet/chelsio/cxgb3/sge.c:2114:16: sparse: sparse: cast to restricted __be32 drivers/net/ethernet/chelsio/cxgb3/sge.c:2114:16: sparse: sparse: cast to restricted __be32 drivers/net/ethernet/chelsio/cxgb3/sge.c:2114:16: sparse: sparse: cast to restricted __be32 drivers/net/ethernet/chelsio/cxgb3/sge.c:2114:16: sparse: sparse: cast to restricted __be32 drivers/net/ethernet/chelsio/cxgb3/sge.c:2114:16: sparse: sparse: cast to restricted __be32 drivers/net/ethernet/chelsio/cxgb3/sge.c:2114:16: sparse: sparse: cast to restricted __be32 >> drivers/net/ethernet/chelsio/cxgb3/sge.c:336:9: sparse: sparse: context imbalance in 'sge_timer_tx' - wrong count at exit >> arch/alpha/include/asm/irqflags.h:47:9: sparse: sparse: context imbalance in 'sge_timer_rx' - wrong count at exit -- drivers/scsi/libfc/fc_fcp.c:537:29: sparse: sparse: cast to restricted __le32 >> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'fc_fcp_recv' - unexpected unlock drivers/scsi/libfc/fc_fcp.c:1210:26: sparse: sparse: context imbalance in 'fc_fcp_cmd_send' - unexpected unlock >> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'fc_fcp_error' - unexpected unlock drivers/scsi/libfc/fc_fcp.c:465:32: sparse: sparse: context imbalance in 'fc_lun_reset_send' - unexpected unlock >> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'fc_tm_done' - unexpected unlock >> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'fc_fcp_timeout' - unexpected unlock >> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'fc_fcp_rec_resp' - unexpected unlock >> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'fc_fcp_rec_error' - unexpected unlock >> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'fc_fcp_srr_resp' - unexpected unlock >> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'fc_fcp_srr_error' - unexpected unlock drivers/scsi/libfc/fc_fcp.c:2137:9: sparse: sparse: context imbalance in 'fc_eh_abort' - unexpected unlock -- drivers/net/ethernet/chelsio/cxgb4/sge.c:1516:47: sparse: sparse: cast from restricted __sum16 drivers/net/ethernet/chelsio/cxgb4/sge.c:1516:44: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __sum16 [usertype] check @@ got unsigned short [usertype] @@ drivers/net/ethernet/chelsio/cxgb4/sge.c:1516:44: sparse: expected restricted __sum16 [usertype] check drivers/net/ethernet/chelsio/cxgb4/sge.c:1516:44: sparse: got unsigned short [usertype] drivers/net/ethernet/chelsio/cxgb4/sge.c:2831:43: sparse: sparse: cast to restricted __be64 drivers/net/ethernet/chelsio/cxgb4/sge.c:2831:43: sparse: sparse: cast to restricted __be64 drivers/net/ethernet/chelsio/cxgb4/sge.c:2831:43: sparse: sparse: cast to restricted __be64 drivers/net/ethernet/chelsio/cxgb4/sge.c:2831:43: sparse: sparse: cast to restricted __be64 drivers/net/ethernet/chelsio/cxgb4/sge.c:2831:43: sparse: sparse: cast to restricted __be64 drivers/net/ethernet/chelsio/cxgb4/sge.c:2831:43: sparse: sparse: cast to restricted __be64 drivers/net/ethernet/chelsio/cxgb4/sge.c:2831:43: sparse: sparse: cast to restricted __be64 drivers/net/ethernet/chelsio/cxgb4/sge.c:2831:43: sparse: sparse: cast to restricted __be64 drivers/net/ethernet/chelsio/cxgb4/sge.c:2831:43: sparse: sparse: cast to restricted __be64 drivers/net/ethernet/chelsio/cxgb4/sge.c:2831:43: sparse: sparse: cast to restricted __be64 >> drivers/net/ethernet/chelsio/cxgb4/sge.c:1324:5: sparse: sparse: context imbalance in 't4_sge_eth_txq_egress_update' - wrong count at exit drivers/net/ethernet/chelsio/cxgb4/sge.c:1444:17: sparse: sparse: context imbalance in 'cxgb4_eth_xmit' - different lock contexts for basic block >> include/linux/spinlock.h:378:9: sparse: sparse: context imbalance in 'service_ofldq' - unexpected unlock >> drivers/net/ethernet/chelsio/cxgb4/sge.c:2528:12: sparse: sparse: context imbalance in 'ofld_xmit_direct' - different lock contexts for basic block -- drivers/net/ethernet/chelsio/cxgb/sge.c:1387:65: sparse: sparse: cast to restricted __be16 drivers/net/ethernet/chelsio/cxgb/sge.c:1387:65: sparse: sparse: cast to restricted __be16 drivers/net/ethernet/chelsio/cxgb/sge.c:1387:65: sparse: sparse: cast to restricted __be16 drivers/net/ethernet/chelsio/cxgb/sge.c:1387:65: sparse: sparse: cast to restricted __be16 drivers/net/ethernet/chelsio/cxgb/sge.c:1863:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] vlan @@ got restricted __be16 [usertype] @@ drivers/net/ethernet/chelsio/cxgb/sge.c:1863:27: sparse: expected unsigned short [usertype] vlan drivers/net/ethernet/chelsio/cxgb/sge.c:1863:27: sparse: got restricted __be16 [usertype] >> drivers/net/ethernet/chelsio/cxgb/sge.c:1699:17: sparse: sparse: context imbalance in 't1_sge_tx' - different lock contexts for basic block >> drivers/net/ethernet/chelsio/cxgb/sge.c:1889:9: sparse: sparse: context imbalance in 'sge_tx_reclaim_cb' - different lock contexts for basic block
vim +/blogic_qcmd_lck +47 arch/alpha/include/asm/irqflags.h
df9ee29270c11d David Howells 2010-10-07 44 df9ee29270c11d David Howells 2010-10-07 45 static inline void arch_local_irq_enable(void) df9ee29270c11d David Howells 2010-10-07 46 { df9ee29270c11d David Howells 2010-10-07 @47 barrier(); df9ee29270c11d David Howells 2010-10-07 48 setipl(IPL_MIN); df9ee29270c11d David Howells 2010-10-07 49 } df9ee29270c11d David Howells 2010-10-07 50
:::::: The code at line 47 was first introduced by commit :::::: df9ee29270c11dba7d0fe0b83ce47a4d8e8d2101 Fix IRQ flag handling naming
:::::: TO: David Howells <dhowells@redhat.com> :::::: CC: David Howells <dhowells@redhat.com>
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |