From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0B8724418F2; Tue, 26 May 2026 17:15:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779815707; cv=none; b=Vmde5F9rKyv1ZAqVfhf3+dN/oybU/uqExgbuF+vOTzTojrDofrxsQ0eobushOT2lOGG/qJV2hf8kEeewCT2hagVaErSUB6UkJKFLoEnjlUwBlbUJ0tETTwwyjytW6ssQIScqwaCtrZ8rJiq+HAITTXYm0QZPmv4eZuOYr3SvOSw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779815707; c=relaxed/simple; bh=YURwA6+s+6fPB1LThEMXPoxgu0rZtCRJgZo7bvbyX5Q=; h=Date:Message-ID:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=luko1SWdhCvfMdxmnXeuQ8XL0rHv7UxQJ+tq/EOn5QeZREv0Yu8RRdh2CaqidkZXlIesbgLtUKFrDbjIAeHqndsgyiqT5lhWZKtpq0VpKifozZH049oeppKcXYBwRuTQ+X1sgz1O+FvpurFGy3vjzWlACmzSqmuIDdqlv+UrLOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TZ1ZSVWx; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TZ1ZSVWx" Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id BD3191F000E9; Tue, 26 May 2026 17:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779815705; bh=yhwQYYAvyeyOA5BotIUCq0FAeRMIiVuWdgIXT7OQn38=; h=Date:From:To:Cc:Subject:References; b=TZ1ZSVWxd5rpQdtcvNYSLXO8N8FXmdBxLJjwZ7feXk4eNnRuqggL5tt5OvRNlonDK BmmcHnBRD2zfpr3eV0FtXgDhb6hExzYQqskQM+Pqc2efvKMSCyE5RZ8/q1ivpmGD5e 54pr+wUkSJmulgQfOuBhjOniIRISgbTL4NskICtdla3IWp/ZGz7qm3zeIJ1MHBuM9C YEzeXtVyI6bkwXIeXrTh7eGAkw+j5dFzVDYgqID/J9TbVzzgXxDhMEEhgdEaRfruA2 eX1IBv8duQYkk2LgpPZtrZnZpwkI2jO33k6Cz0jROkok3ip3S8Tvty+Lbi24Q2EdAL R5lPOicf5vIJw== Date: Tue, 26 May 2026 19:15:02 +0200 Message-ID: <20260526171224.124442963@kernel.org> User-Agent: quilt/0.68 From: Thomas Gleixner To: LKML Cc: David Woodhouse , Miroslav Lichvar , John Stultz , Stephen Boyd , Anna-Maria Behnsen , Frederic Weisbecker , thomas.weissschuh@linutronix.de, Arthur Kiyanovski , Richard Cochran , Rodolfo Giometti , Vincent Donnefort , Marc Zyngier , Oliver Upton , kvmarm@lists.linux.dev, Oliver Upton , netdev@vger.kernel.org, Takashi Iwai , Miri Korenblit , Johannes Berg , Jacob Keller , Tony Nguyen , Saeed Mahameed , Peter Hilber , "Michael S. Tsirkin" , virtualization@lists.linux.dev, linux-wireless@vger.kernel.org, linux-sound@vger.kernel.org Subject: [patch 19/24] ptp: Use system_device_crosststamp::sys_systime References: <20260526165826.392227559@kernel.org> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 .. to prepare for cross timestamps with variable clock IDs. No functional change. Signed-off-by: Thomas Gleixner Cc: Richard Cochran --- drivers/ptp/ptp_chardev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/ptp/ptp_chardev.c +++ b/drivers/ptp/ptp_chardev.c @@ -333,7 +333,7 @@ static long ptp_sys_offset_precise(struc ts = ktime_to_timespec64(xtstamp.device); precise_offset.device.sec = ts.tv_sec; precise_offset.device.nsec = ts.tv_nsec; - ts = ktime_to_timespec64(xtstamp.sys_realtime); + ts = ktime_to_timespec64(xtstamp.sys_systime); precise_offset.sys_realtime.sec = ts.tv_sec; precise_offset.sys_realtime.nsec = ts.tv_nsec; ts = ktime_to_timespec64(xtstamp.sys_monoraw);