lkml.org 
[lkml]   [2015]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v6] isdn: Use ktime_t instead of 'struct timeval'
From
From: Tina Ruchandani <ruchandani.tina@gmail.com>
Date: Thu, 29 Oct 2015 21:08:16 -0700

> @@ -45,7 +46,7 @@ static u_int *debug;
> static LIST_HEAD(iclock_list);
> static DEFINE_RWLOCK(iclock_lock);
> static u16 iclock_count; /* counter of last clock */
> -static struct timeval iclock_tv; /* time stamp of last clock */
> +static ktime_t iclock_tv; /* time stamp of last clock */
> static int iclock_tv_valid; /* already received one timestamp */

It only makes sense for this variable to be named "iclock_tv" when
it is of type "timeval". And therefore it is confusing to keep
using this variable name after changing it's type to "ktime_t".

Therefore please adjust the variable name appropriately, thanks.


\
 
 \ /
  Last update: 2015-11-01 22:41    [W:0.051 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site