Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4001154ybi; Tue, 18 Jun 2019 10:00:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJYlP3S/EkW7675zrj+0grEkyjQGhyn1qYZ+LXBtdzLB0s849HJxwL5u2+dXGAxIDOhSva X-Received: by 2002:a17:902:b611:: with SMTP id b17mr62807062pls.261.1560877210398; Tue, 18 Jun 2019 10:00:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560877210; cv=none; d=google.com; s=arc-20160816; b=C1b5rdq78GJ5DW+ocMKnOnwlW5w2D6xMXBGjf4hPuWRZECcfyJgaQMuDoSduG+9HDx QAwptwM8ArOcAM7C/iCSVagihecOyaPslqaFXUGzTL99IaAMTGI2epw5Jc+bLBRxBG2n XwaEf9xwviT8l7WGWI+4bLcAcwFu2RaHSOEYlA6nqWsRE+2zIwdBzaGTgmN+7GnLtzYS SrVjjGJTkrdt8j3nRqf/vU92L3sUpmic1zP4SL5RjLz5SYtT+HKPi3zcdxL3Zj/4oFWL 9bkLDytGXmrDYgGv8LDubUiqDL/bq+hHOI5pe+HreNa9raJfKOUeIRTc01q0+zaJY1YY Nzdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=dRMDk2BAfRDYDNECYYhM1BfKg5f7KkTU03mHf+QYRbE=; b=VNHTO0H2qkxCw9b+xn2xMEf/izs/4KCITRGxgOdlFkkOs+6kqO9nD2CcxSmn9s9aHA Sw8luEWTDz8e2SEmn+i7m9W77CRngZ7LF/JYl9TrwYjXWDVvO/zf/4xk72PNF1Zwx1VB Cai6UAdXWon/gEsmj0vm11eF2K1m50zrE+B/I+tXGRGDfxruAmqj1QXtQheehc2TsZYI WVmpyeErWHvCosnvnjTzo4T0AilIhLwa/RLsG0QXgPeV9xGZMxc+BdEwbdbW9U9bioxX nzCNh1NZQmR0JcDD2SNonPrf0kD3evbj5DLfPlbAAYyJ6LSD7+/I/8R3a3WiINOEL+WG a89A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=C3c4XTWo; 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 w9si3485320plp.118.2019.06.18.09.59.54; Tue, 18 Jun 2019 10:00:10 -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=C3c4XTWo; 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 S1729955AbfFRQ7k (ORCPT + 99 others); Tue, 18 Jun 2019 12:59:40 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:37970 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729528AbfFRQ7k (ORCPT ); Tue, 18 Jun 2019 12:59:40 -0400 Received: by mail-pl1-f193.google.com with SMTP id f98so381739plb.5 for ; Tue, 18 Jun 2019 09:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dRMDk2BAfRDYDNECYYhM1BfKg5f7KkTU03mHf+QYRbE=; b=C3c4XTWoNgJakO71gg1YUplJAt4MELRvc4yd0sAONMl1zgwrGjZnEgmulHFTBQtsSN zJpp3FK/4A8RkSgj+I8H445n9VaHxYRfCmIH0gPhLGCtErpM0MWqlZVhcbpKHNrhl9zt fmWkivPYggTvuFKel8SMOuNoFNFsUGzN3VEbtVEoUmtNjm3B5JBQqNCBm5vmpDbMP2Zn k65KS0bDEcOIdWrjoFEutjHusI6DMoxLTgv+qS5kPiJ4uq8jgLtcPuk7sq8Mi/itZvnw LFPS68lD5kUz0Qt4XTTqy4Icn0kXywtcQNIGwebC1xKwlCACmrugcYPeTpdlLpWT7M6y THlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dRMDk2BAfRDYDNECYYhM1BfKg5f7KkTU03mHf+QYRbE=; b=TZgHrjpjySR0bGMuSgGmG9cZCuZYJFyymL29vm85S+FvgA7WyCa5GdYJMB8cbyedSw F64BbIg6WD+siF8Gj3w5sjK9sJr3/ecKI2MXhw50GA6LZC+LEC45lBDk+P7XbIahvrf0 rCRvffOibFKJ55NhvimNztjghnIPiq9poSaMi/ZbSzUSWKk5ac2xm/tzIvqhpmw+IzWD 5CCRhEhGktLdIf32UtEs9S1BiTA7OJ+wk0M6Y9d5y0Ju3/X4hrOf58vxaeQ6qQkM5d7Q 7uG3/qDkf4VKTAEhIFllHnR17B7MmhLxxM+R+U2Sz4dFVo4cHNc0necq45vTdcjHP3WS XmRg== X-Gm-Message-State: APjAAAXVdL2TICWgir+3yzSl9PaTamrTlaRG2x9fEh5Nm/Sno4a62+QZ Er1jBwXlEMG+NDwhVRZ5i/o= X-Received: by 2002:a17:902:2ae7:: with SMTP id j94mr30537867plb.270.1560877179452; Tue, 18 Jun 2019 09:59:39 -0700 (PDT) Received: from localhost.localdomain ([112.196.181.128]) by smtp.googlemail.com with ESMTPSA id r6sm3307678pji.0.2019.06.18.09.59.36 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 18 Jun 2019 09:59:38 -0700 (PDT) From: Puranjay Mohan To: Shuah Khan Cc: Puranjay Mohan , Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [PATCH] Sched: Change type of 'overrun' from int to u64 Date: Tue, 18 Jun 2019 22:29:08 +0530 Message-Id: <20190618165908.15012-1-puranjay12@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Callers of hrtimer_forward_now() should save the return value in u64. function sched_cfs_period_timer() stores it in variable 'overrun' of type int change type of overrun from int to u64 to solve the issue. Signed-off-by: Puranjay Mohan --- 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 f35930f5e528..c6bcae7d4e49 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -4896,7 +4896,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.21.0