[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0gr=ja9qvnS-sGbaoh7cgNhccAMxmj0JPyfpF+ErxwSAg@mail.gmail.com>
Date: Wed, 11 Dec 2019 11:35:59 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: "Zhang, Rui" <rui.zhang@...el.com>
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Linux PM <linux-pm@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>
Subject: Re: [PATCH] cpuidle: Drop unnecessary type cast in cpuidle_poll_time()
On Wed, Dec 11, 2019 at 11:33 AM Zhang, Rui <rui.zhang@...el.com> wrote:
>
>
> > -----Original Message-----
> > From: linux-pm-owner@...r.kernel.org [mailto:linux-pm-
> > owner@...r.kernel.org] On Behalf Of Rafael J. Wysocki
> > Sent: Wednesday, December 11, 2019 6:31 PM
> > To: Linux PM <linux-pm@...r.kernel.org>
> > Cc: LKML <linux-kernel@...r.kernel.org>; Daniel Lezcano
> > <daniel.lezcano@...aro.org>
> > Subject: [PATCH] cpuidle: Drop unnecessary type cast in cpuidle_poll_time()
> >
> > From: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
> >
> > The data type of the target_residency_ns field in struct cpuidle_state is u64,
> > so it does not need to be cast into u64.
> >
> > Get read of the unnecessary type cast.
>
> s/read/rid
Indeed, thanks!
Powered by blists - more mailing lists