All of lore.kernel.org
 help / color / mirror / Atom feed
* [openeuler:OLK-6.6 1474/1474] drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_queue.c:39:9: sparse: sparse: incompatible types in conditional expression (different base types):
@ 2024-11-20  7:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-11-20  7:46 UTC (permalink / raw)
  To: kernel, Bennie Yan; +Cc: oe-kbuild-all

Hi Bennie,

First bad commit (maybe != root cause):

tree:   https://gitee.com/openeuler/kernel.git OLK-6.6
head:   cce003012298a00277187319a2527882a18278c1
commit: 69181c3c9413ccaa4dab458057d13efda520cb60 [1474/1474] Net: nebula_matrix: fix ci build warning
config: x86_64-randconfig-121-20241118 (https://download.01.org/0day-ci/archive/20241120/202411201504.PHzBNdRf-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241120/202411201504.PHzBNdRf-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411201504.PHzBNdRf-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_queue.c:39:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_queue.c:39:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_queue.c:39:9: sparse:    void
--
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_channel/nbl_channel.c:941:6: sparse: sparse: symbol 'nbl_chan_clean_queue_subtask' was not declared. Should it be static?
--
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:450:6: sparse: sparse: symbol 'nbl_flow_set_mt_input' was not declared. Should it be static?
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:556:5: sparse: sparse: symbol 'nbl_flow_insert_pp_ht' was not declared. Should it be static?
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:1264:6: sparse: sparse: symbol 'templete_name' was not declared. Should it be static?
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c: note: in included file (through include/linux/rculist.h, include/linux/pid.h, include/linux/sched.h, ...):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
--
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c:308:6: sparse: sparse: symbol 'nbl_serv_adjust_interrpt_param' was not declared. Should it be static?
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c:510:5: sparse: sparse: symbol 'nbl_get_eeprom_length' was not declared. Should it be static?
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c:515:5: sparse: sparse: symbol 'nbl_get_eeprom' was not declared. Should it be static?
--
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:49:35: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char [noderef] [usertype] __iomem *notify_addr @@     got unsigned char [usertype] * @@
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:49:35: sparse:     expected unsigned char [noderef] [usertype] __iomem *notify_addr
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:49:35: sparse:     got unsigned char [usertype] *
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:15:5: sparse: sparse: symbol 'nbl_alloc_tx_rings' was not declared. Should it be static?
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:976:39: sparse: sparse: cast to restricted __le16
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1049:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got unsigned char [usertype] *irq_enable_base @@
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1049:48: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1049:48: sparse:     got unsigned char [usertype] *irq_enable_base
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1291:22: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le32 [usertype] len @@     got unsigned int [assigned] size @@
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1291:22: sparse:     expected restricted __le32 [usertype] len
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1291:22: sparse:     got unsigned int [assigned] size
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1326:30: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le32 [usertype] len @@     got unsigned int [assigned] size @@
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1326:30: sparse:     expected restricted __le32 [usertype] len
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1326:30: sparse:     got unsigned int [assigned] size
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1452:33: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le32 [usertype] len @@     got unsigned int [assigned] [usertype] pkthdr_len @@
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1452:33: sparse:     expected restricted __le32 [usertype] len
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1452:33: sparse:     got unsigned int [assigned] [usertype] pkthdr_len
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1482:25: sparse: sparse: bad assignment (+=) to restricted __le32
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1748:40: sparse: sparse: restricted __le32 degrades to integer
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1749:32: sparse: sparse: restricted __le32 degrades to integer
   drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:2063:24: sparse: sparse: cast to restricted __le16
--
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:32:5: sparse: sparse: symbol 'nbl_serv_setup_queues' was not declared. Should it be static?
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:68:6: sparse: sparse: symbol 'nbl_serv_flush_rx_queues' was not declared. Should it be static?
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:77:5: sparse: sparse: symbol 'nbl_serv_setup_rings' was not declared. Should it be static?
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:124:6: sparse: sparse: symbol 'nbl_serv_stop_rings' was not declared. Should it be static?
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2116:6: sparse: sparse: symbol 'nbl_serv_pldmfw_op_pci_match_record' was not declared. Should it be static?
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2528:38: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] __user *from @@     got void * @@
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2528:38: sparse:     expected void const [noderef] __user *from
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2528:38: sparse:     got void *
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2540:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void [noderef] __user *to @@     got void * @@
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2540:29: sparse:     expected void [noderef] __user *to
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2540:29: sparse:     got void *
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2851:5: sparse: sparse: symbol 'nbl_serv_get_vf_base_vsi_id' was not declared. Should it be static?
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c: note: in included file (through include/linux/preempt.h, include/linux/spinlock.h, include/linux/mmzone.h, ...):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c: note: in included file (through arch/x86/include/asm/uaccess.h, include/linux/uaccess.h, include/linux/sched/task.h, ...):
   arch/x86/include/asm/uaccess_64.h:88:24: sparse: sparse: cast removes address space '__user' of expression
   arch/x86/include/asm/uaccess_64.h:88:24: sparse: sparse: cast removes address space '__user' of expression
--
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:103:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:103:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:103:9: sparse:    void
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:103:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:103:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:103:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:186:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:186:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:186:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:186:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:186:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:186:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:245:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:245:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:245:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:245:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:245:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:245:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:449:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:449:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:449:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:449:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:449:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:449:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:549:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:549:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:549:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:549:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:549:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:549:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:610:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:610:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:610:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:610:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:610:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:610:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:688:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:688:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:688:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:688:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:688:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:688:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:804:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:804:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:804:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:804:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:804:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:804:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:962:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:962:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:962:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1111:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1111:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1111:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1155:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1155:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1155:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1155:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1155:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1155:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1193:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1193:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1193:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1235:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1235:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1235:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1276:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1276:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1276:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1314:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1314:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1314:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1351:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1351:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1351:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1389:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1389:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1389:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1551:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1551:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1551:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1616:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1616:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1616:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1616:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1616:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1616:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1647:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1647:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1647:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1647:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1647:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1647:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1735:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1735:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1735:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1769:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1769:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1769:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1796:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1796:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1796:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1824:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1824:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1824:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1833:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1833:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1833:9: sparse:    void
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1866:16: sparse: sparse: Using plain integer as NULL pointer
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1877:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1877:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1877:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1887:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1887:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1887:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1897:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1897:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1897:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1933:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1933:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1933:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1933:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1933:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1933:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1962:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1962:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1962:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1962:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1962:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1962:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1980:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1980:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1980:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1980:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1980:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:1980:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2002:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2002:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2002:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2002:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2002:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2002:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2036:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2036:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2036:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2036:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2036:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2036:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2064:16: sparse: sparse: Using plain integer as NULL pointer
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2092:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2092:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2092:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2092:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2092:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2092:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2120:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2120:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2120:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2120:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2120:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2120:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2138:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2138:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2138:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2138:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2138:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2138:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2148:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2148:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2148:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2157:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2157:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2157:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2157:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2157:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2157:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2167:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2167:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2167:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2167:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2167:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2167:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2209:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2209:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2209:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2224:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2224:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2224:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2224:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2224:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2224:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2278:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2278:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2278:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2278:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2278:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2278:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2309:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2309:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2309:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2318:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2318:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2318:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2329:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2329:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2329:9: sparse:    void
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2362:9: sparse: sparse: incompatible types in conditional expression (different base types):
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2362:9: sparse:    int
   drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2362:9: sparse:    void

vim +39 drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_queue.c

bad535d287c9c1 Bennie Yan 2024-09-24  24  
bad535d287c9c1 Bennie Yan 2024-09-24  25  int nbl_queue_mgt_start(struct nbl_resource_mgt *res_mgt)
bad535d287c9c1 Bennie Yan 2024-09-24  26  {
bad535d287c9c1 Bennie Yan 2024-09-24  27  	struct device *dev;
bad535d287c9c1 Bennie Yan 2024-09-24  28  	struct nbl_queue_mgt **queue_mgt;
bad535d287c9c1 Bennie Yan 2024-09-24  29  	struct nbl_res_product_ops *product_ops = NBL_RES_MGT_TO_PROD_OPS(res_mgt);
bad535d287c9c1 Bennie Yan 2024-09-24  30  	int ret = 0;
bad535d287c9c1 Bennie Yan 2024-09-24  31  
bad535d287c9c1 Bennie Yan 2024-09-24  32  	dev = NBL_RES_MGT_TO_DEV(res_mgt);
bad535d287c9c1 Bennie Yan 2024-09-24  33  	queue_mgt = &NBL_RES_MGT_TO_QUEUE_MGT(res_mgt);
bad535d287c9c1 Bennie Yan 2024-09-24  34  
bad535d287c9c1 Bennie Yan 2024-09-24  35  	ret = nbl_queue_setup_mgt(dev, queue_mgt);
bad535d287c9c1 Bennie Yan 2024-09-24  36  	if (ret)
bad535d287c9c1 Bennie Yan 2024-09-24  37  		return ret;
bad535d287c9c1 Bennie Yan 2024-09-24  38  
bad535d287c9c1 Bennie Yan 2024-09-24 @39  	NBL_OPS_CALL(product_ops->queue_mgt_init, (*queue_mgt));
bad535d287c9c1 Bennie Yan 2024-09-24  40  
bad535d287c9c1 Bennie Yan 2024-09-24  41  	return 0;
bad535d287c9c1 Bennie Yan 2024-09-24  42  }
bad535d287c9c1 Bennie Yan 2024-09-24  43  

:::::: The code at line 39 was first introduced by commit
:::::: bad535d287c9c1056d99de3666be7da84de4a8fc Net:nbl_core: Add nbl_core-driver for nebula-matrix S1055AS series smart NIC.

:::::: TO: Bennie Yan <bennie.yan@nebula-matrix.com>
:::::: CC: Bennie Yan <bennie.yan@nebula-matrix.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-20  7:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-20  7:46 [openeuler:OLK-6.6 1474/1474] drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_queue.c:39:9: sparse: sparse: incompatible types in conditional expression (different base types): kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.