Re: [Linuxptp-devel] [PATCH v2 1/5] Rename NSEC2SEC as NSEC_PER_SEC and refactor to util.h

2023-09-22 Thread Przemek Kitszel
On 9/21/23 23:25, Rahul Rameshbabu via Linuxptp-devel 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: Ra

Re: [Linuxptp-devel] [PATCH v2 1/5] Rename NSEC2SEC as NSEC_PER_SEC and refactor to util.h

2023-09-22 Thread Rahul Rameshbabu via Linuxptp-devel
On Fri, 22 Sep, 2023 15:47:15 +0200 Przemek Kitszel wrote: > On 9/21/23 23:25, Rahul Rameshbabu via Linuxptp-devel 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 t