[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50CB6554.8060305@redhat.com>
Date: Fri, 14 Dec 2012 12:43:48 -0500
From: Rik van Riel <riel@...hat.com>
To: Sivaram Nair <sivaramn@...dia.com>
CC: rafael.j.wysocki@...el.com, len.brown@...el.com,
daniel.lezcano@...aro.org, khilman@...com, ccross@...roid.com,
youquan.song@...el.com, akpm@...ux-foundation.org,
shuox.liu@...el.com, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] cpuidle: fix finding state with min power_usage
On 12/14/2012 08:17 AM, Sivaram Nair wrote:
> Since cpuidle_state.power_usage is a signed value, use INT_MAX (instead
> of -1) to init the local copies so that functions that tries to find
> cpuidle states with minimum power usage works correctly even if they use
> non-negative values.
>
> Signed-off-by: Sivaram Nair <sivaramn@...dia.com>
Reviewed-by: Rik van Riel <riel@...hat.com>
--
All rights reversed
--
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