Hi Anton,

kernel test robot noticed the following build errors:

[auto build test ERROR on 1235d14de922bc4367c24553bc6b278d56dc3433]

url:    
https://github.com/intel-lab-lkp/linux/commits/Anton-Nadezhdin/idpf-add-direct-access-to-discipline-the-main-timer/20250902-170325
base:   1235d14de922bc4367c24553bc6b278d56dc3433
patch link:    
https://lore.kernel.org/r/20250902105321.5750-3-anton.nadezhdin%40intel.com
patch subject: [Intel-wired-lan] [PATCH iwl-next 2/2] idpf: add direct method 
for disciplining Tx timestamping
config: powerpc-randconfig-002-20250902 
(https://download.01.org/0day-ci/archive/20250902/[email protected]/config)
compiler: powerpc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250902/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   In file included from drivers/net/ethernet/intel/idpf/idpf_txrx.c:5:
>> drivers/net/ethernet/intel/idpf/idpf_ptp.h:399:11: error: expected ';', ',' 
>> or ')' before 'struct'
              struct idpf_tx_splitq_params *params)
              ^~~~~~
   drivers/net/ethernet/intel/idpf/idpf_txrx.c: In function 
'idpf_tx_read_tstamp':
>> drivers/net/ethernet/intel/idpf/idpf_txrx.c:1673:10: error: too many 
>> arguments to function 'idpf_ptp_get_tx_tstamp'
       err = idpf_ptp_get_tx_tstamp(tx_tstamp_caps->vport, tx_tstamp);
             ^~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/net/ethernet/intel/idpf/idpf_txrx.c:5:
   drivers/net/ethernet/intel/idpf/idpf_ptp.h:374:19: note: declared here
    static inline int idpf_ptp_get_tx_tstamp(struct idpf_vport *vport)
                      ^~~~~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/intel/idpf/idpf_txrx.c: In function 
'idpf_tx_splitq_frame':
>> drivers/net/ethernet/intel/idpf/idpf_txrx.c:2763:34: error: passing argument 
>> 3 of 'idpf_tx_tstamp' from incompatible pointer type 
>> [-Werror=incompatible-pointer-types]
     idx = idpf_tx_tstamp(tx_q, skb, &tx_params);
                                     ^~~~~~~~~~
   drivers/net/ethernet/intel/idpf/idpf_txrx.c:2635:37: note: expected 'struct 
idpf_tx_offload_params *' but argument is of type 'struct idpf_tx_splitq_params 
*'
         struct idpf_tx_offload_params *params)
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
   cc1: some warnings being treated as errors
--
   In file included from drivers/net/ethernet/intel/idpf/idpf_lib.c:6:
>> drivers/net/ethernet/intel/idpf/idpf_ptp.h:399:11: error: expected ';', ',' 
>> or ')' before 'struct'
              struct idpf_tx_splitq_params *params)
              ^~~~~~


vim +399 drivers/net/ethernet/intel/idpf/idpf_ptp.h

   396  
   397  static inline int idpf_ptp_request_ts(struct idpf_tx_queue *tx_q,
   398                                        struct sk_buff *skb, u32 *idx
 > 399                                        struct idpf_tx_splitq_params 
 > *params)
   400  {
   401          return -EOPNOTSUPP;
   402  }
   403  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to