[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4909398.MrlE5Sy5gL@wuerfel>
Date: Thu, 22 Oct 2015 14:47:23 +0200
From: Arnd Bergmann <arnd@...db.de>
To: y2038@...ts.linaro.org
Cc: Amitoj Kaur Chawla <amitoj1606@...il.com>,
outreachy-kernel@...glegroups.com, linux-ide@...r.kernel.org,
davem@...emloft.net, linux-kernel@...r.kernel.org
Subject: Re: [Y2038] [PATCH v2] ide: pdc202xx_new: Replace timeval with ktime_t
On Thursday 22 October 2015 18:15:50 Amitoj Kaur Chawla wrote:
> This driver uses 'struct timeval' which we are trying to remove since
> 32 bit time types will break in the year 2038 by replacing it with
> ktime_t.
>
> This patch changes do_gettimeofday() to ktime_get() because
> ktime_get() returns a ktime_t while do_gettimeofday() returns struct
> timeval.
>
> This patch also uses ktime_us_delta() to get the elapsed time.
>
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@...il.com>
>
Reviewed-by: Arnd Bergmann <arnd@...db.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists