mbox series

[-next,v3,0/2] posix-timers: Check timespec64 before call clock_set()

Message ID 20240909074124.964907-1-ruanjinjie@huawei.com (mailing list archive)
Headers show
Series posix-timers: Check timespec64 before call clock_set() | expand

Message

Jinjie Ruan Sept. 9, 2024, 7:41 a.m. UTC
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(-)