lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201707012217.EG1INLhn%fengguang.wu@intel.com>
Date:   Sat, 1 Jul 2017 23:00:09 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Manish Chopra <manish.chopra@...ium.com>
Cc:     kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
        Yuval.Mintz@...ium.com, rahul.verma@...ium.com,
        sudarsana.kalluru@...ium.com
Subject: Re: [PATCH net-next 5/7] qed/qede: Add support for vf coalesce
 configuration.

Hi Rahul,

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Manish-Chopra/qed-qede-Enhancements/20170701-205133
config: i386-randconfig-x018-06250006 (attached as .config)
compiler: gcc-6 (Debian 6.3.0-18) 6.3.0 20170516
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_set_queue_coalesce':
>> drivers/net/ethernet/qlogic/qed/qed_dev.c:3706:10: error: implicit declaration of function 'qed_vf_pf_set_coalesce' [-Werror=implicit-function-declaration]
      return qed_vf_pf_set_coalesce(p_hwfn, rx_coal, tx_coal, p_cid);
             ^~~~~~~~~~~~~~~~~~~~~~
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:__set_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls
   Cyclomatic Complexity 1 arch/x86/include/asm/arch_hweight.h:__arch_hweight32
   Cyclomatic Complexity 2 include/linux/bitops.h:hweight_long
   Cyclomatic Complexity 1 include/linux/bitops.h:fls_long
   Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u32
   Cyclomatic Complexity 1 include/linux/log2.h:__roundup_pow_of_two
   Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
   Cyclomatic Complexity 1 arch/x86/include/asm/io.h:readl
   Cyclomatic Complexity 1 arch/x86/include/asm/io.h:writel
   Cyclomatic Complexity 3 include/linux/bitmap.h:bitmap_weight
   Cyclomatic Complexity 1 include/linux/cpumask.h:cpumask_weight
   Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:arch_local_save_flags
   Cyclomatic Complexity 1 arch/x86/include/asm/irqflags.h:arch_irqs_disabled_flags
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_lock_bh
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock_bh
   Cyclomatic Complexity 1 include/linux/dma-debug.h:debug_dma_alloc_coherent
   Cyclomatic Complexity 1 include/linux/dma-debug.h:debug_dma_free_coherent
   Cyclomatic Complexity 1 arch/x86/include/asm/dma-mapping.h:get_arch_dma_ops
   Cyclomatic Complexity 4 include/linux/dma-mapping.h:get_dma_ops
   Cyclomatic Complexity 4 include/linux/dma-mapping.h:dma_alloc_attrs
   Cyclomatic Complexity 71 include/linux/dma-mapping.h:dma_free_attrs
   Cyclomatic Complexity 1 include/linux/dma-mapping.h:dma_alloc_coherent
   Cyclomatic Complexity 1 include/linux/dma-mapping.h:dma_free_coherent
   Cyclomatic Complexity 67 include/linux/slab.h:kmalloc_large
   Cyclomatic Complexity 3 include/linux/slab.h:kmalloc
   Cyclomatic Complexity 1 include/linux/slab.h:kzalloc
   Cyclomatic Complexity 1 include/linux/etherdevice.h:eth_random_addr
   Cyclomatic Complexity 1 include/linux/etherdevice.h:ether_addr_copy
   Cyclomatic Complexity 1 include/linux/qed/qed_chain.h:qed_chain_get_capacity
   Cyclomatic Complexity 5 include/linux/qed/qed_chain.h:qed_chain_recycle_consumed
   Cyclomatic Complexity 6 include/linux/qed/qed_chain.h:qed_chain_reset
   Cyclomatic Complexity 3 include/linux/qed/qed_chain.h:qed_chain_init_params
   Cyclomatic Complexity 1 include/linux/qed/qed_chain.h:qed_chain_init_mem
   Cyclomatic Complexity 1 include/linux/qed/qed_chain.h:qed_chain_init_pbl_mem
   Cyclomatic Complexity 1 include/linux/qed/qed_chain.h:qed_chain_init_next_ptr_elem
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_fcoe.h:qed_fcoe_alloc
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_fcoe.h:qed_fcoe_setup
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_fcoe.h:qed_fcoe_free
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_sriov.h:qed_iov_hw_info
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_sriov.h:qed_iov_alloc
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_sriov.h:qed_iov_setup
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_sriov.h:qed_iov_free
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_sriov.h:qed_iov_free_hw_info
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_rdma.h:qed_rdma_dpm_bar
   Cyclomatic Complexity 4 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_qm_params
   Cyclomatic Complexity 3 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_qm_port_params
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_qm_reset_params
   Cyclomatic Complexity 25 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_get_dflt_resc
   Cyclomatic Complexity 4 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_chain_free_next_ptr
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_chain_free_single
   Cyclomatic Complexity 4 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_chain_alloc_next_ptr
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_chain_alloc_single
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_llh_mac_to_filter
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_wfq_default_param
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_qm_info_free
   Cyclomatic Complexity 7 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_get_pq_flags
   Cyclomatic Complexity 11 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_qm_get_idx_from_flags
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_qm_set_idx
   Cyclomatic Complexity 29 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_dp_init_qm_params
   Cyclomatic Complexity 19 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_calc_hw_mode
   Cyclomatic Complexity 4 drivers/net/ethernet/qlogic/qed/qed_dev.c:get_function_id
   Cyclomatic Complexity 5 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_chain_alloc_sanity_check
   Cyclomatic Complexity 22 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_wfq_param
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_reset_mb_shadow
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_init_port
   Cyclomatic Complexity 130 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_init_dpi_size
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_hwfn_prepare
   Cyclomatic Complexity 8 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_bar_size
   Cyclomatic Complexity 5 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_info_port_num_bb
   Cyclomatic Complexity 6 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_info_port_num_ah
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_info_port_num
   Cyclomatic Complexity 4 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_get_eee_caps
   Cyclomatic Complexity 14 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_get_num_funcs
   Cyclomatic Complexity 6 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_change_pci_hwfn
   Cyclomatic Complexity 7 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_timers_stop
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_fill_load_req_params
   Cyclomatic Complexity 5 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_cau_rt_data
   Cyclomatic Complexity 16 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_cache_line_size
   Cyclomatic Complexity 10 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_init_common
   Cyclomatic Complexity 17 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_init_pf_doorbell_bar
   Cyclomatic Complexity 11 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_get_dev_info
   Cyclomatic Complexity 7 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_set_feat
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_hw_hwfn_free
   Cyclomatic Complexity 6 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_chain_free_pbl
   Cyclomatic Complexity 7 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_chain_alloc_pbl
   Cyclomatic Complexity 4 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_set_coalesce
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_configure_wfq_for_all_vports
   Cyclomatic Complexity 5 drivers/net/ethernet/qlogic/qed/qed_dev.c:__qed_configure_vport_wfq
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_disable_wfq_for_all_vports
   Cyclomatic Complexity 7 drivers/net/ethernet/qlogic/qed/qed_dev.c:__qed_configure_vp_wfq_on_link_change
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_dp
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_struct
   Cyclomatic Complexity 4 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_resc_free
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_qm_get_num_tcs
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_qm_get_num_vfs
   Cyclomatic Complexity 2 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_qm_get_num_pf_rls
   Cyclomatic Complexity 1 drivers/net/ethernet/qlogic/qed/qed_dev.c:qed_init_qm_get_num_vports

vim +/qed_vf_pf_set_coalesce +3706 drivers/net/ethernet/qlogic/qed/qed_dev.c

  3700		struct qed_ptt *p_ptt;
  3701		int rc = 0;
  3702	
  3703		p_hwfn = p_cid->p_owner;
  3704	
  3705		if (IS_VF(p_hwfn->cdev))
> 3706			return qed_vf_pf_set_coalesce(p_hwfn, rx_coal, tx_coal, p_cid);
  3707	
  3708		p_ptt = qed_ptt_acquire(p_hwfn);
  3709		if (!p_ptt)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (34048 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ