CC: [email protected] CC: Intel Wired LAN <[email protected]> TO: Aleksandr Loktionov <[email protected]> CC: Jeff Kirsher <[email protected]> CC: Arkadiusz Kubalewski <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git dev-queue head: 94e8b9f389d896ead02e9633104231fc864da9b0 commit: 00dd8fa0294dfd7fafefa292dc584abbefd29153 [35/55] i40e: Remove scheduling while atomic possibility :::::: branch date: 4 hours ago :::::: commit date: 2 days ago config: powerpc-randconfig-m031-20200607 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:2039 i40e_set_vsi_promisc() error: uninitialized symbol 'aq_ret'. # https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git/commit/?id=00dd8fa0294dfd7fafefa292dc584abbefd29153 git remote add jkirsher-next-queue https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git git remote update jkirsher-next-queue git checkout 00dd8fa0294dfd7fafefa292dc584abbefd29153 vim +/aq_ret +2039 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1957 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1958 /** 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1959 * i40e_set_vsi_promisc 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1960 * @vf: pointer to the VF struct 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1961 * @seid: VSI number 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1962 * @multi_enable: set MAC L2 layer multicast promiscuous enable/disable 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1963 * for a given VLAN 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1964 * @unicast_enable: set MAC L2 layer unicast promiscuous enable/disable 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1965 * for a given VLAN 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1966 * @vl: List of VLANs - apply filter for given VLANs 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1967 * @num_vlans: Number of elements in @vl 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1968 **/ 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1969 static inline i40e_status 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1970 i40e_set_vsi_promisc(struct i40e_vf *vf, u16 seid, bool multi_enable, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1971 bool unicast_enable, s16 *vl, int num_vlans) 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1972 { 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1973 struct i40e_pf *pf = vf->pf; 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1974 struct i40e_hw *hw = &pf->hw; 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1975 i40e_status aq_ret; 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1976 int i; 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1977 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1978 /* No VLAN to set promisc on, set on VSI */ 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1979 if (!num_vlans || !vl) { 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1980 aq_ret = i40e_aq_set_vsi_multicast_promiscuous(hw, seid, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1981 multi_enable, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1982 NULL); 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1983 if (aq_ret) { 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1984 int aq_err = pf->hw.aq.asq_last_status; 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1985 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1986 dev_err(&pf->pdev->dev, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1987 "VF %d failed to set multicast promiscuous mode err %s aq_err %s\n", 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1988 vf->vf_id, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1989 i40e_stat_str(&pf->hw, aq_ret), 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1990 i40e_aq_str(&pf->hw, aq_err)); 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1991 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1992 return aq_ret; 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1993 } 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1994 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1995 aq_ret = i40e_aq_set_vsi_unicast_promiscuous(hw, seid, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1996 unicast_enable, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1997 NULL, true); 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1998 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 1999 if (aq_ret) { 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2000 int aq_err = pf->hw.aq.asq_last_status; 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2001 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2002 dev_err(&pf->pdev->dev, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2003 "VF %d failed to set unicast promiscuous mode err %s aq_err %s\n", 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2004 vf->vf_id, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2005 i40e_stat_str(&pf->hw, aq_ret), 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2006 i40e_aq_str(&pf->hw, aq_err)); 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2007 } 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2008 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2009 return aq_ret; 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2010 } 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2011 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2012 for (i = 0; i < num_vlans; i++) { 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2013 aq_ret = i40e_aq_set_vsi_mc_promisc_on_vlan(hw, seid, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2014 multi_enable, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2015 vl[i], NULL); 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2016 if (aq_ret) { 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2017 int aq_err = pf->hw.aq.asq_last_status; 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2018 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2019 dev_err(&pf->pdev->dev, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2020 "VF %d failed to set multicast promiscuous mode err %s aq_err %s\n", 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2021 vf->vf_id, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2022 i40e_stat_str(&pf->hw, aq_ret), 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2023 i40e_aq_str(&pf->hw, aq_err)); 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2024 } 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2025 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2026 aq_ret = i40e_aq_set_vsi_uc_promisc_on_vlan(hw, seid, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2027 unicast_enable, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2028 vl[i], NULL); 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2029 if (aq_ret) { 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2030 int aq_err = pf->hw.aq.asq_last_status; 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2031 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2032 dev_err(&pf->pdev->dev, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2033 "VF %d failed to set unicast promiscuous mode err %s aq_err %s\n", 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2034 vf->vf_id, 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2035 i40e_stat_str(&pf->hw, aq_ret), 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2036 i40e_aq_str(&pf->hw, aq_err)); 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2037 } 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2038 } 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 @2039 return aq_ret; 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2040 } 00dd8fa0294dfd Aleksandr Loktionov 2020-05-29 2041 --- 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]
