Thread (23 messages) 23 messages, 5 authors, 10d ago

Re: [PATCH v3 net-next 2/7] selftests/ptp: Extract print_system_timestamp helper in testptp

From: David Woodhouse <dwmw2@infradead.org>
Date: 2026-05-21 13:42:33
Also in: linux-kselftest

On Fri, 2026-05-15 at 16:40 +0000, Arthur Kiyanovski wrote:
Extract the repeated switch-on-clockid pattern used for printing
system timestamps into a reusable helper function. This removes
code duplication in the -x (PTP_SYS_OFFSET_EXTENDED) output path
and prepares for additional callers.

No functional change.

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Reviewed-by: David Woodhouse <redacted>

Attachments

  • smime.p7s [application/pkcs7-signature] 5069 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help