On 9/25/23 19:03, Rahul Rameshbabu wrote:
The name NSEC2SEC implies converting nanoseconds to seconds, but the value
used for the macro converts seconds to nanoseconds. NSEC_PER_SEC is the
accurate name for this macro. Move macro to common location in util.h.
Signed-off-by: Rahul Rameshbabu <[email protected]>
---
Notes:
Changes:
v2->v3:
- Eliminate unnecessary tmo variable due to refactor in tc.c.
phc_ctl.c | 8 +++-----
port.c | 14 +++++++-------
port_private.h | 3 +--
servo.c | 3 +--
tc.c | 9 ++++-----
util.h | 2 ++
6 files changed, 18 insertions(+), 21 deletions(-)
Reviewed-by: Przemek Kitszel <[email protected]>
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel