[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z1lv5EfGq6WGwjRO@shell.armlinux.org.uk>
Date: Wed, 11 Dec 2024 10:56:36 +0000
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Andrew Lunn <andrew@...n.ch>, Heiner Kallweit <hkallweit1@...il.com>
Cc: Marcin Wojtas <marcin.s.wojtas@...il.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Richard Cochran <richardcochran@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: mvpp2: tai: warn once if we fail to update
our timestamp
On Tue, Dec 10, 2024 at 12:38:21PM +0000, Russell King wrote:
> @@ -303,7 +304,8 @@ static long mvpp22_tai_aux_work(struct ptp_clock_info *ptp)
> {
> struct mvpp2_tai *tai = ptp_to_tai(ptp);
>
> - mvpp22_tai_gettimex64(ptp, &tai->stamp, NULL);
> + if (mvpp22_tai_gettimex64(ptp, &tai->stamp, NULL) < 0)
> + dev_warn_once(tai->dev, "PTP timestamps are unreliable");
I see nipbot spotted an issue with indentation here. v2 sent.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists