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
| ||
|
Message-ID: <202312231448.DVjORC4c-lkp@intel.com> Date: Sat, 23 Dec 2023 14:22:58 +0800 From: kernel test robot <lkp@...el.com> To: Michael Chan <michael.chan@...adcom.com>, davem@...emloft.net Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com, pavan.chebbi@...adcom.com, andrew.gospodarek@...adcom.com Subject: Re: [PATCH net-next 04/13] bnxt_en: Refactor L2 filter alloc/free firmware commands. Hi Michael, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Michael-Chan/bnxt_en-Refactor-bnxt_ntuple_filter-structure/20231222-174043 base: net-next/main patch link: https://lore.kernel.org/r/20231221220218.197386-5-michael.chan%40broadcom.com patch subject: [PATCH net-next 04/13] bnxt_en: Refactor L2 filter alloc/free firmware commands. config: powerpc-randconfig-001-20231223 (https://download.01.org/0day-ci/archive/20231223/202312231448.DVjORC4c-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231223/202312231448.DVjORC4c-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@...el.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202312231448.DVjORC4c-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/net/ethernet/broadcom/bnxt/bnxt.c:5443:35: error: subscript of pointer to incomplete type 'struct bnxt_vf_info' struct bnxt_vf_info *vf = &pf->vf[vf_idx]; ~~~~~~^ drivers/net/ethernet/broadcom/bnxt/bnxt.h:1332:9: note: forward declaration of 'struct bnxt_vf_info' struct bnxt_vf_info *vf; ^ >> drivers/net/ethernet/broadcom/bnxt/bnxt.c:5445:11: error: incomplete definition of type 'struct bnxt_vf_info' return vf->fw_fid; ~~^ drivers/net/ethernet/broadcom/bnxt/bnxt.h:1332:9: note: forward declaration of 'struct bnxt_vf_info' struct bnxt_vf_info *vf; ^ drivers/net/ethernet/broadcom/bnxt/bnxt.c:13583:44: warning: shift count >= width of type [-Wshift-count-overflow] if (dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)) != 0 && ^~~~~~~~~~~~~~~~ include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ ~~~ 1 warning and 2 errors generated. vim +5443 drivers/net/ethernet/broadcom/bnxt/bnxt.c 5440 5441 static u16 bnxt_vf_target_id(struct bnxt_pf_info *pf, u16 vf_idx) 5442 { > 5443 struct bnxt_vf_info *vf = &pf->vf[vf_idx]; 5444 > 5445 return vf->fw_fid; 5446 } 5447 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists