All of lore.kernel.org
 help / color / mirror / Atom feed
* [isilence:zc/veth 981/1018] drivers/net/ethernet/broadcom/bnxt/bnxt.c:5090:42: error: invalid use of undefined type 'struct bnxt_vf_info'
@ 2023-10-17 20:55 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-10-17 20:55 UTC (permalink / raw)
  To: Pavan Chebbi; +Cc: oe-kbuild-all, David Wei, Michael Chan, Vasundhara Volam

tree:   https://github.com/isilence/linux zc/veth
head:   cff8a226d561bc0db814b65ca5d2c97894d4d1cd
commit: f0e90b8007759fb67368a36df5c34d428acbc040 [981/1018] bnxt: Refactor L2 filter alloc/free firmware commands.
config: x86_64-randconfig-013-20231018 (https://download.01.org/0day-ci/archive/20231018/202310180404.aJjM9EZu-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231018/202310180404.aJjM9EZu-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/202310180404.aJjM9EZu-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function 'bnxt_vf_target_id':
>> drivers/net/ethernet/broadcom/bnxt/bnxt.c:5090:42: error: invalid use of undefined type 'struct bnxt_vf_info'
    5090 |         struct bnxt_vf_info *vf = &pf->vf[vf_idx];
         |                                          ^
   drivers/net/ethernet/broadcom/bnxt/bnxt.c:5092:18: error: invalid use of undefined type 'struct bnxt_vf_info'
    5092 |         return vf->fw_fid;
         |                  ^~
>> drivers/net/ethernet/broadcom/bnxt/bnxt.c:5093:1: error: control reaches end of non-void function [-Werror=return-type]
    5093 | }
         | ^
   cc1: some warnings being treated as errors


vim +5090 drivers/net/ethernet/broadcom/bnxt/bnxt.c

  5087	
  5088	static u16 bnxt_vf_target_id(struct bnxt_pf_info *pf, u16 vf_idx)
  5089	{
> 5090		struct bnxt_vf_info *vf = &pf->vf[vf_idx];
  5091	
  5092		return vf->fw_fid;
> 5093	}
  5094	

-- 
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:[~2023-10-17 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-17 20:55 [isilence:zc/veth 981/1018] drivers/net/ethernet/broadcom/bnxt/bnxt.c:5090:42: error: invalid use of undefined type 'struct bnxt_vf_info' 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.