[openeuler:OLK-6.6 3547/3547] drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:395:5: warning: no previous prototype for 'hinic3_tx_offload'
Hi zhuyikai, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 commit: 74e3846262704452212a3245dccb10c2cd185ac3 [3547/3547] net/hinic3: Support new TX feature config: arm64-randconfig-003-20251216 (https://download.01.org/0day-ci/archive/20251221/202512210308.eEv9d6co-lkp@i...) compiler: aarch64-linux-gcc (GCC) 10.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210308.eEv9d6co-lkp@i...) 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/202512210308.eEv9d6co-lkp@intel.com/ All warnings (new ones prefixed by >>):
drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:395:5: warning: no previous prototype for 'hinic3_tx_offload' [-Wmissing-prototypes] 395 | u32 hinic3_tx_offload(struct sk_buff *skb, struct hinic3_offload_info *offload_info, | ^~~~~~~~~~~~~~~~~
vim +/hinic3_tx_offload +395 drivers/net/ethernet/huawei/hinic3/hinic3_tx.c 394
395 u32 hinic3_tx_offload(struct sk_buff *skb, struct hinic3_offload_info *offload_info, 396 struct hinic3_queue_info *queue_info, struct hinic3_txq *txq) 397 { 398 u32 offload = 0; 399 int tso_cs_en; 400 401 tso_cs_en = hinic3_tso(offload_info, queue_info, skb); 402 if (tso_cs_en < 0) { 403 offload = TX_OFFLOAD_INVALID; 404 return offload; 405 } else if (tso_cs_en) { 406 offload |= TX_OFFLOAD_TSO; 407 } else { 408 tso_cs_en = hinic3_tx_csum(txq, skb, offload_info, queue_info); 409 if (tso_cs_en) 410 offload |= TX_OFFLOAD_CSUM; 411 } 412
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot