* [tnguy-next-queue:dev-queue 49/85] drivers/net/ethernet/intel/ice/ice_virtchnl.c:3851:19: error: call to undeclared function 'ice_ptp_read_src_clk_reg'; ISO C99 and later do not support implicit function declarations
@ 2024-06-13 3:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-13 3:23 UTC (permalink / raw)
To: Simei Su
Cc: llvm, oe-kbuild-all, Intel Wired LAN, Tony Nguyen,
Wojciech Drewek, Mateusz Polchlopek
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git dev-queue
head: 9af9f19ba76127f423f1b2cbe41b3cc098f0f5d4
commit: f3b2d0b0778285c46d451413fb4d5e67b85ee8fd [49/85] ice: support Rx timestamp on flex descriptor
config: x86_64-randconfig-071-20240613 (https://download.01.org/0day-ci/archive/20240613/202406131123.jE3mwlmL-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240613/202406131123.jE3mwlmL-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/202406131123.jE3mwlmL-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/intel/ice/ice_virtchnl.c:3851:19: error: call to undeclared function 'ice_ptp_read_src_clk_reg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3851 | phc_time->time = ice_ptp_read_src_clk_reg(pf, NULL);
| ^
1 error generated.
vim +/ice_ptp_read_src_clk_reg +3851 drivers/net/ethernet/intel/ice/ice_virtchnl.c
3829
3830 static int ice_vc_get_phc_time(struct ice_vf *vf)
3831 {
3832 enum virtchnl_status_code v_ret = VIRTCHNL_STATUS_SUCCESS;
3833 struct virtchnl_phc_time *phc_time = NULL;
3834 struct ice_pf *pf = vf->pf;
3835 int len = 0;
3836 int ret;
3837
3838 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) {
3839 v_ret = VIRTCHNL_STATUS_ERR_PARAM;
3840 goto err;
3841 }
3842
3843 len = sizeof(struct virtchnl_phc_time);
3844 phc_time = kzalloc(len, GFP_KERNEL);
3845 if (!phc_time) {
3846 v_ret = VIRTCHNL_STATUS_ERR_NO_MEMORY;
3847 len = 0;
3848 goto err;
3849 }
3850
> 3851 phc_time->time = ice_ptp_read_src_clk_reg(pf, NULL);
3852
3853 err:
3854 /* send the response back to the VF */
3855 ret = ice_vc_send_msg_to_vf(vf, VIRTCHNL_OP_1588_PTP_GET_TIME,
3856 v_ret, (u8 *)phc_time, len);
3857 kfree(phc_time);
3858 return ret;
3859 }
3860
--
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:[~2024-06-13 3:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-13 3:23 [tnguy-next-queue:dev-queue 49/85] drivers/net/ethernet/intel/ice/ice_virtchnl.c:3851:19: error: call to undeclared function 'ice_ptp_read_src_clk_reg'; ISO C99 and later do not support implicit function declarations kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).