All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jacob Keller <jacob.e.keller@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Intel Wired LAN <intel-wired-lan@lists.osuosl.org>,
	Tony Nguyen <anthony.l.nguyen@intel.com>
Subject: [tnguy-net-queue:100GbE 5/11] drivers/net/ethernet/intel/ice/ice_ptp.c:1253:15: error: 'struct ice_ptp_tx' has no member named 'calibrating'
Date: Thu, 29 Oct 2026 21:53:23 +0100	[thread overview]
Message-ID: <202610292105.A3nUSLeQ-lkp@intel.com> (raw)

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: sparc-randconfig-2000-20261029 (https://download.01.org/0day-ci/archive/20261029/202610292105.A3nUSLeQ-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261029/202610292105.A3nUSLeQ-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/202610292105.A3nUSLeQ-lkp@intel.com/

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:15: error: 'struct ice_ptp_tx' has no member named 'calibrating'
      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:15: error: 'struct ice_ptp_tx' has no member named 'calibrating'
      ptp_port->tx.calibrating = true;
                  ^
   drivers/net/ethernet/intel/ice/ice_ptp.c:1338:15: error: 'struct ice_ptp_tx' has no member named 'calibrating'
      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	other threads:[~2026-10-29 20:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202610292105.A3nUSLeQ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=anthony.l.nguyen@intel.com \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=jacob.e.keller@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.