lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 25 Sep 2019 22:39:42 +0530
From:   Madhuparna Bhowmik <madhuparnabhowmik04@...il.com>
To:     linux-kernel-mentees@...ts.linuxfoundation.org
Cc:     linux-kernel@...r.kernel.org
Subject: [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@...il.com>
---
 kernel/sched/fair.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index d4bbf68c3161..7c97e9704ca2 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -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;
 
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ