Re: [ovs-dev] [PATCH v2 1/2] timeval: Introduce macros to convert timespec and timeval.

2017-11-28 Thread Bodireddy, Bhanuprakash
Hi Ben, >On Tue, Nov 14, 2017 at 08:42:30PM +, Bhanuprakash Bodireddy wrote: >> This commit replaces the numbers with MSEC_PER_SEC, NSEC_PER_SEC and >> USEC_PER_MSEC macros when dealing with timespec and timeval. >> >> This commit doesn't change functionality. >> >> Signed-off-by:

Re: [ovs-dev] [PATCH v2 1/2] timeval: Introduce macros to convert timespec and timeval.

2017-11-28 Thread Ben Pfaff
On Tue, Nov 14, 2017 at 08:42:30PM +, Bhanuprakash Bodireddy wrote: > This commit replaces the numbers with MSEC_PER_SEC, NSEC_PER_SEC and > USEC_PER_MSEC macros when dealing with timespec and timeval. > > This commit doesn't change functionality. > > Signed-off-by: Bhanuprakash Bodireddy

[ovs-dev] [PATCH v2 1/2] timeval: Introduce macros to convert timespec and timeval.

2017-11-14 Thread Bhanuprakash Bodireddy
This commit replaces the numbers with MSEC_PER_SEC, NSEC_PER_SEC and USEC_PER_MSEC macros when dealing with timespec and timeval. This commit doesn't change functionality. Signed-off-by: Bhanuprakash Bodireddy --- lib/timeval.c| 29