netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next v4 0/2] posix-clock: Check timespec64 for PTP clock
@ 2024-09-14 10:06 Jinjie Ruan
  2024-09-14 10:06 ` [PATCH -next v4 1/2] posix-clock: Check timespec64 before call clock_settime() Jinjie Ruan
  2024-09-14 10:06 ` [PATCH -next v4 2/2] net: lan743x: Remove duplicate check Jinjie Ruan
  0 siblings, 2 replies; 7+ messages in thread
From: Jinjie Ruan @ 2024-09-14 10:06 UTC (permalink / raw)
  To: bryan.whitehead, davem, edumazet, kuba, pabeni, anna-maria,
	frederic, tglx, richardcochran, UNGLinuxDriver, mbenes, jstultz,
	andrew, netdev, linux-kernel
  Cc: ruanjinjie

Check timespec64 in pc_clock_settime() for PTP clock.

Changes in v4:
- Check it in pc_clock_settime() for PTP clock.
- Update the commit message.

Changes in v3:
- Check it before call clock_set().
- Update the commit message.

Jinjie Ruan (2):
  posix-clock: Check timespec64 before call clock_settime()
  net: lan743x: Remove duplicate check

 drivers/net/ethernet/microchip/lan743x_ptp.c | 35 ++++++++------------
 kernel/time/posix-clock.c                    |  3 ++
 2 files changed, 17 insertions(+), 21 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-10-02 15:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-14 10:06 [PATCH -next v4 0/2] posix-clock: Check timespec64 for PTP clock Jinjie Ruan
2024-09-14 10:06 ` [PATCH -next v4 1/2] posix-clock: Check timespec64 before call clock_settime() Jinjie Ruan
2024-09-14 15:23   ` Simon Horman
2024-10-02 15:18     ` Thomas Gleixner
2024-10-02 15:22   ` Thomas Gleixner
2024-09-14 10:06 ` [PATCH -next v4 2/2] net: lan743x: Remove duplicate check Jinjie Ruan
2024-09-14 13:56   ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).