[PATCH v3] prism54: isl_38xx: Replace 'struct timeval'

2016-04-13 Thread Tina Ruchandani
f specifier to avoid the seconds value being truncated. The patch was build-tested / debugged by removing the "if VERBOSE > SHOW_ERROR_MESSAGES" guards. Signed-off-by: Tina Ruchandani Suggested-by: Arnd Bergmann -- Changes in v3: Fix commit message Changes in v2: Changed prin

[PATCH v2] prism54: isl_38xx: Replace 'struct timeval'

2016-03-22 Thread Tina Ruchandani
e than 8 digits and use a different specifier from %li. The patch was build-tested / debugged by removing the "if VERBOSE > SHOW_ERROR_MESSAGES" guards. Signed-off-by: Tina Ruchandani Suggested-by: Arnd Bergmann -- Changes in v2: - Changed printf specifier as suggested by Arnd Bergman

[PATCH] prism54: isl_38xx: Replace 'struct timeval'

2016-03-22 Thread Tina Ruchandani
int more than 8 digits and using a different specifier from %li. The patch was build-tested / debugged by removing the "if VERBOSE > SHOW_ERROR_MESSAGES" guards. Signed-off-by: Tina Ruchandani --- drivers/net/wireless/intersil/prism54/isl_38xx.c | 29 +++- 1 file change

[PATCH v7] isdn: Use ktime_t instead of 'struct timeval'

2016-03-19 Thread Tina Ruchandani
safe. The patch also replaces do_gettimeofday() (wall-clock time) with ktime_get() (monotonic time) since we only care about elapsed time here. Signed-off-by: Tina Ruchandani Suggested-by: Arnd Bergmnann Suggested-by: David Miller --- Changes in v7: - Upodate variable names to remove mentions

Re: [PATCH v6] isdn: Use ktime_t instead of 'struct timeval'

2015-11-01 Thread Tina Ruchandani
> > Therefore please adjust the variable name appropriately, thanks. David, Thanks for the feedback, I will send out a v3. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/major

[PATCH] [DCCP]: Use 64-bit timekeeping

2015-10-30 Thread Tina Ruchandani
code only uses the timestamps to compute a small elapsed interval. This patch is part of a larger attempt to remove instances of 32-bit timekeeping structures (timespec, timeval, time_t) from the kernel so it is easier to identify where the real 2038 issues are. Signed-off-by: Tina Ruchandani ---

[PATCH] NET: ATM: MPOA: Remove 32-bit timekeeping

2015-10-29 Thread Tina Ruchandani
onds field is an overkill. This patch replaces the use of struct timeval with time64_t to store a 64-bit seconds field. Signed-off-by: Tina Ruchandani --- net/atm/common.c | 2 +- net/atm/mpc.c | 9 + net/atm/mpoa_caches.c | 49

[PATCH v6] isdn: Use ktime_t instead of 'struct timeval'

2015-10-29 Thread Tina Ruchandani
safe. The patch also replaces do_gettimeofday() (wall-clock time) with ktime_get() (monotonic time) since we only care about elapsed time here. Signed-off-by: Tina Ruchandani Suggested-by: Arnd Bergmnann --- Changes in v6: - Fix compilation errors caused by bad code editing Changes in v5: - Apply

[PATCH v5] isdn: Use ktime_t instead of 'struct timeval'

2015-10-29 Thread Tina Ruchandani
safe. The patch also replaces do_gettimeofday() (wall-clock time) with ktime_get() (monotonic time) since we only care about elapsed time here. Signed-off-by: Tina Ruchandani Suggested-by: Arnd Bergmnann --- drivers/isdn/mISDN/clock.c | 51 +- include/lin

[PATCH v4] isdn: Use ktime_t instead of 'struct timeval'

2015-05-31 Thread Tina Ruchandani
safe. The patch also replaces do_gettimeofday (wall-clock time) with ktime_get (monotonic time) since we only care about elapsed time here. Signed-off-by: Tina Ruchandani Suggested-by: Arnd Bergmnann -- Changes in v4: - Fix compile error (NS_PER_SEC -> NSEC_PER_SEC) Changes in v3: - Use divis

Re: [PATCH v3] isdn: Use ktime_t instead of 'struct timeval'

2015-05-30 Thread Tina Ruchandani
> > This doesn't compile: > Oops, I sent an older version of the patch with a typo. I've correct this in a v4. (NS_PER_SEC -> NSEC_PER_SEC). Thanks for taking a look at this. Tina -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kerne

[PATCH v3] isdn: Use ktime_t instead of 'struct timeval'

2015-05-26 Thread Tina Ruchandani
safe. The patch also replaces do_gettimeofday() (wall-clock time) with ktime_get() (monotonic time) since we only care about elapsed time here. Signed-off-by: Tina Ruchandani Suggested-by: Arnd Bergmnann -- Changes in v3: - Use division scheme suggested by Arnd Bergmann to avoid a (64-bit variable