Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1826182ybn; Thu, 26 Sep 2019 02:49:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLptKiqR0BJnoB9aMz4Lr3lN29ijlNpbcWhmSps+3qw13G7XHJyf5LiEvuebNsON/AV2tD X-Received: by 2002:a17:906:1c06:: with SMTP id k6mr2220215ejg.217.1569491381756; Thu, 26 Sep 2019 02:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569491381; cv=none; d=google.com; s=arc-20160816; b=dYvtG4sZs4M47MhgiW4qLC3MZD7Kej17kNTIOPu8iogSsuCeUbM86Nd1gtJSxHXC9A uTAI/jMPtaMYVDraE8AMQMy4Xx9V1f52iokgdt293QSr5rGG9QMEyGKEUivJaWT33nE3 Ww1dVl1BNcWsoLLGtcobJ/FNiBPCYSFF3UmfoJg8nhUJR07KoL7cEquNsxQwijAbQe0T WuJVTjRxarWEobTlnmGfuSg3gb7q+VcC+Je84lbVmv2ISqGzDTe1MMGPrpPDTDS2Heog zoyhFJD2o5T6O/riUOiz5ZenateP8CG1fPA+Wfnv71s+u4CMyRkjQshLfTRmKhuU6EUk MAxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=+jBc2CSetMNlK7QdXb0YLft4/BLzR5dJnratyqnpwHE=; b=EkvvBrNFPfdV6eeUVJzlHcZBolq5V2oJCKIFtlqX4ay4KdF0jiDoKwW5pSn96QzVBW pkQlXmiB6crB295qoJRP4u3OU/anRIKZkK7lRAeX2SxLiTqdoxofGHrHlltMiltU+DAj cTd+Pq3uWr3FqhokZwJ9XpwQLKqoxv4WjEd3DaGEbyNRTGzWtPdbW3TMDekXbAmcvO+x q+4s/XnyiZXyQTgC3v52wjEuv53nZVsriKUdH7+H8sTb1VxVNz3ezVZ9jl6AoKf91L/q rd1VSsL4v4DV8OW4PclLwx4rZF4DnLbewnlK0In10VtSa3VjQn/Pwsdb2fySV0Hcl3HK hwrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eHadCcaY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e47si1017887ede.325.2019.09.26.02.49.17; Thu, 26 Sep 2019 02:49:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eHadCcaY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439967AbfIYRKW (ORCPT + 99 others); Wed, 25 Sep 2019 13:10:22 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:42583 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437796AbfIYRKW (ORCPT ); Wed, 25 Sep 2019 13:10:22 -0400 Received: by mail-pf1-f195.google.com with SMTP id q12so3906834pff.9 for ; Wed, 25 Sep 2019 10:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=+jBc2CSetMNlK7QdXb0YLft4/BLzR5dJnratyqnpwHE=; b=eHadCcaYhW2D4fgyLXwrkM3CMk0j1zb4CDkXBk4LduohBqguf2KqmRBoZ8Z+fDb+8+ MtTR+5YWcvFi35fzOzZcYm3NyY5zm1BnNm7G3g2meI318uwSrJxmdpV0TLiuwXnY2LGm 5GpdzeVYkQjbz79wOWkdm4uGsv3eb2OB6mX+Q9pX35COFajISsSWFajgZ76dpXYj70zU JNPkBtiwPs4nCM4xFq4wrPAF8aryp3elKVtvBHc2lZ4t0lQ2jcmxkdOJrg5mVrPDfktA SHRx+G8+99o7mxFh736xOQaZ8w6h5ToX2HmKHTfNP5k1WnpvTyWqFVB92bhY8L7TPqpf OK4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=+jBc2CSetMNlK7QdXb0YLft4/BLzR5dJnratyqnpwHE=; b=HDGd+uoYpVTrjl2mX7AL0/ZU0QxmfnDNVLNZpjWmq5YGQmZWE3qrK/AXPDedRgXCY5 TX+Rn1RhGrQf4eX7gU9M4Hr+Wog2IfgyCyd73O9dIE6RPPGG26IAPrIxJrv4tfeQbWwq 5FCSGLzVgllf5+JKf5dKzZ8j/RyRCHtmmPsECplR57trzm6G2MNPHOzOdS9cSlOMhDeZ U/pPQIBlC5y2LR7A0PMwvPJvwdSEY2MWngFW5TynXL6HOfq0VcX+mwpWxUjLel2x8cGy DSw1LHSkftQtDaGB4bajMUvc91QuPUjZZOYoXdn6JRQ9RwdLWVsoylDt2do2gv3Qqrn0 AOiQ== X-Gm-Message-State: APjAAAVk0D228BDi35U6yDcAtgX5MPloJ8V1uMNZ7fkvM+oLxo7vtTNa 8Qb1PMBU+kpdXaswRIZZQNhdq/geO0U= X-Received: by 2002:a62:8683:: with SMTP id x125mr10652531pfd.108.1569431421694; Wed, 25 Sep 2019 10:10:21 -0700 (PDT) Received: from madhuparna-HP-Notebook ([42.109.146.156]) by smtp.gmail.com with ESMTPSA id e192sm8613264pfh.83.2019.09.25.10.10.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Sep 2019 10:10:21 -0700 (PDT) Date: Wed, 25 Sep 2019 22:39:42 +0530 From: Madhuparna Bhowmik 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 Message-ID: <20190925170931.GA23927@madhuparna-HP-Notebook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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