tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git 
100GbE
head:   3c73d34ba643c4e24ff549f3f083372a36b09952
commit: 64639b94e14663a7f80953ac0d075edac626ee96 [5/11] ice: E825: stop 
clearing PHY_REG_TX_OFFSET_READY
config: csky-allmodconfig 
(https://download.01.org/0day-ci/archive/20261103/[email protected]/config)
compiler: csky-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20261103/[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 >>):

   drivers/net/ethernet/intel/ice/ice_ptp.c: In function 
'ice_ptp_port_phy_stop':
>> drivers/net/ethernet/intel/ice/ice_ptp.c:1253:29: error: 'struct ice_ptp_tx' 
>> has no member named 'calibrating'
    1253 |                 ptp_port->tx.calibrating = true;
         |                             ^
   drivers/net/ethernet/intel/ice/ice_ptp.c: In function 
'ice_ptp_port_phy_restart':
   drivers/net/ethernet/intel/ice/ice_ptp.c:1328:29: error: 'struct ice_ptp_tx' 
has no member named 'calibrating'
    1328 |                 ptp_port->tx.calibrating = true;
         |                             ^
   drivers/net/ethernet/intel/ice/ice_ptp.c:1338:29: error: 'struct ice_ptp_tx' 
has no member named 'calibrating'
    1338 |                 ptp_port->tx.calibrating = false;
         |                             ^


vim +1253 drivers/net/ethernet/intel/ice/ice_ptp.c

  1222  
  1223  /**
  1224   * ice_ptp_port_phy_stop - Stop timestamping for a PHY port
  1225   * @ptp_port: PTP port to stop
  1226   *
  1227   * Context: must hold the adapter ps_lock.
  1228   */
  1229  static int
  1230  ice_ptp_port_phy_stop(struct ice_ptp_port *ptp_port)
  1231  {
  1232          struct ice_pf *pf = ptp_port_to_pf(ptp_port);
  1233          u8 port = ptp_port->port_num;
  1234          struct ice_hw *hw = &pf->hw;
  1235          unsigned long flags;
  1236          int err;
  1237  
  1238          lockdep_assert_held(&pf->adapter->ps_lock);
  1239  
  1240          switch (hw->mac_type) {
  1241          case ICE_MAC_E810:
  1242          case ICE_MAC_E830:
  1243                  err = 0;
  1244                  break;
  1245          case ICE_MAC_GENERIC:
  1246                  kthread_cancel_delayed_work_sync(&ptp_port->ov_work);
  1247  
  1248                  err = ice_stop_phy_timer_e82x(hw, port, true);
  1249                  break;
  1250          case ICE_MAC_GENERIC_3K_E825:
  1251                  /* Disable new Tx timestamp requests */
  1252                  spin_lock_irqsave(&ptp_port->tx.lock, flags);
> 1253                  ptp_port->tx.calibrating = true;
  1254                  spin_unlock_irqrestore(&ptp_port->tx.lock, flags);
  1255  
  1256                  ice_ptp_mark_tx_tracker_stale(&ptp_port->tx);
  1257  
  1258                  err = ice_stop_phy_timer_eth56g(hw, port);
  1259                  break;
  1260          default:
  1261                  err = -ENODEV;
  1262          }
  1263          if (err && err != -EBUSY)
  1264                  dev_err(ice_pf_to_dev(pf), "PTP failed to set PHY port 
%d down, err %d\n",
  1265                          port, err);
  1266  
  1267          return err;
  1268  }
  1269  

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

Reply via email to