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

2023-11-09 Thread Rahul Rameshbabu via Linuxptp-devel
On Thu, 09 Nov, 2023 21:17:03 -0800 Richard Cochran wrote: > On Mon, Sep 25, 2023 at 10:03:09AM -0700, 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

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

2023-11-09 Thread Richard Cochran
On Mon, Sep 25, 2023 at 10:03:09AM -0700, 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

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

2023-09-26 Thread Przemek Kitszel
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

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

2023-09-25 Thread Rahul Rameshbabu via Linuxptp-devel
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 --- Notes: Changes: v2->v3: