mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com>
To: linux-kernel-mentees@lists.linuxfoundation.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] kernel: sched: fair: Changes data type from int to u64
Date: Wed, 25 Sep 2019 22:39:42 +0530	[thread overview]
Message-ID: <20190925170931.GA23927@madhuparna-HP-Notebook> (raw)

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@gmail.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


                 reply	other threads:[~2019-09-25 17:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190925170931.GA23927@madhuparna-HP-Notebook \
    --to=madhuparnabhowmik04@gmail.com \
    --cc=linux-kernel-mentees@lists.linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®