From: Tuukka Tikkanen Date: Wed, 14 Aug 2013 16:02:38 +0000 (+0300) Subject: cpuidle: Fix menu_device->intervals type X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=939e33b7fcd4980f21ff4c9558eb27fe81d16cdb;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git cpuidle: Fix menu_device->intervals type Struct menu_device member intervals is declared as u32, but the value stored is (unsigned) int. The type is changed to match the value being stored. Signed-off-by: Tuukka Tikkanen Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c index 94a303739ba8..ee88838d7f08 100644 --- a/drivers/cpuidle/governors/menu.c +++ b/drivers/cpuidle/governors/menu.c @@ -118,7 +118,7 @@ struct menu_device { unsigned int exit_us; unsigned int bucket; u64 correction_factor[BUCKETS]; - u32 intervals[INTERVALS]; + unsigned int intervals[INTERVALS]; int interval_ptr; };