netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next v3 0/2] posix-timers: Check timespec64 before call clock_set()
@ 2024-09-09  7:41 Jinjie Ruan
  2024-09-09  7:41 ` [PATCH -next v3 1/2] " Jinjie Ruan
  2024-09-09  7:41 ` [PATCH -next v3 2/2] net: lan743x: Remove duplicate check Jinjie Ruan
  0 siblings, 2 replies; 13+ messages in thread
From: Jinjie Ruan @ 2024-09-09  7:41 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 before call settime64() to make sense.

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

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

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

-- 
2.34.1


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

end of thread, other threads:[~2024-09-14  9:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09  7:41 [PATCH -next v3 0/2] posix-timers: Check timespec64 before call clock_set() Jinjie Ruan
2024-09-09  7:41 ` [PATCH -next v3 1/2] " Jinjie Ruan
2024-09-09 15:19   ` Richard Cochran
2024-09-10 11:23     ` Jinjie Ruan
2024-09-10 12:05       ` Thomas Gleixner
2024-09-10 12:30         ` Jinjie Ruan
2024-09-10 15:48           ` Thomas Gleixner
2024-09-12  2:53     ` Jinjie Ruan
2024-09-12 12:04       ` Thomas Gleixner
2024-09-12 12:24         ` Jinjie Ruan
2024-09-13 10:46           ` Thomas Gleixner
2024-09-14  9:00             ` Jinjie Ruan
2024-09-09  7:41 ` [PATCH -next v3 2/2] net: lan743x: Remove duplicate check Jinjie Ruan

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).