Skip to contentSkip to conversation

kernel: sched: fair: Changes data type from int to u64

PATCH New Madhuparna Bhowmik 1 participant 1 message Sep 25, 2019 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 kernel: sched: fair: Changes data type from int to u64

This patch changes the data type of variable overrun in the function sched_cfs_period_timer() from int to u64 as the return type of the function hrtimer_forward_now() is u64.

Signed-off-by Madhuparna Bhowmik <madhuparnabhowmik04 at gmail.com>
---
 kernel/sched/fair.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/fair.c +1 -1
index d4bbf68c3161..7c97e9704ca2 100644
@@ -4929,7 +4929,7 @@ static enum hrtimer_restart sched_cfs_period_timer(struct hrtimer *timer)
 	struct cfs_bandwidth *cfs_b =
 		container_of(timer, struct cfs_bandwidth, period_timer);
 	unsigned long flags;
-	int overrun;
+	u64 overrun;
 	int idle = 0;
 	int count = 0;
 
Signature · 1 line
2.17.1