From: David Miller <davem@davemloft.net>
To: amitoj1606@gmail.com
Cc: outreachy-kernel@googlegroups.com, y2038@lists.linaro.org,
linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] ide: pdc202xx_new: Replace timeval with ktime_t
Date: Tue, 03 Nov 2015 11:51:24 -0500 (EST) [thread overview]
Message-ID: <20151103.115124.718690114491913916.davem@davemloft.net> (raw)
In-Reply-To: <20151022124550.GA18694@amitoj-Inspiron-3542>
From: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Date: Thu, 22 Oct 2015 18:15:50 +0530
> 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@gmail.com>
> ---
> Changes in v2:
> -Modified subject of commit message
Applied, thanks.
prev parent reply other threads:[~2015-11-03 16:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-22 12:45 [PATCH v2] ide: pdc202xx_new: Replace timeval with ktime_t Amitoj Kaur Chawla
2015-10-22 12:47 ` [Y2038] " Arnd Bergmann
2015-11-03 16:51 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151103.115124.718690114491913916.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=amitoj1606@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=outreachy-kernel@googlegroups.com \
--cc=y2038@lists.linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox