Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3293541ybi; Mon, 17 Jun 2019 21:24:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvVYyZrZns8nQPl9F/pwww/6MPB7Eo06uBNVZRCQmRSidt0FLtONeDwueT7Q9qpHjSrXjD X-Received: by 2002:a17:902:86:: with SMTP id a6mr45999207pla.244.1560831881340; Mon, 17 Jun 2019 21:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560831881; cv=none; d=google.com; s=arc-20160816; b=ix8hQ+4FpnaVbc03Vzbk8MslktKZ6Yvz3qV9Fi7vPePV2THG63p2X0t6hltjTdNrKW 6r37TFVJsXMqCgNozlK73JJgpvaTD2ylrGQVsgUH/VPCoKCC0I56M0vih4wvKhEUth+I ZWkkz2EtPJI4JcinO6SHsJ5rPxi17vuwyxwyPYXCQ2nAfVJm+UB/N7KtWo0HWuNh534b wM8D33Madj1jFOnllfUsHPNpG2zhW4XQq17PZQ6IomsitAIHkjj6UM5Fa2AD/E5l1dIt jml/8UxWbPtlksf+i0TcnpdtcYNvljSxsUlzm2KiNflZIknKMMOoDy+dI1XC9pkC4CH+ +kRA== 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=trghcI0kguPxHRpabSOQXTiUe9keIUZtHbrrlskJREE=; b=gt/+2S1Bu0DJjvstQUo3+e3mngNKccKAGEZGxBWLEx7InURaz2aT2rW4Q+N0L9pZmW 6qExSAh+Z3Rfa2vA278f4Ku2/tBJSd7wxhuq2dADLIU8QBnUB55+hXuj1eP9O2rYXxDe 7r2so3Bjz52KM6HlIewmOZjwa8ydxWJJxHHIzCpsvTjIYX70CRYSDRyUw0DZYOeFauOu VeZjPprm9qPSMaHYqN3AE65ZNmiv4JTXgaZ2mRHb74Qv8yQg1yyrgQSBrghQYwxeRtbe t3bOisRpztII0nrm3Nyr1Uo7t4935Wv6LQb7QD2m0CgeAWuanhdHV9lYzKk/Ac2wkiwL zfUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QZsOIpMw; 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 o4si12166521plb.274.2019.06.17.21.24.25; Mon, 17 Jun 2019 21:24: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=QZsOIpMw; 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 S1726275AbfFREYU (ORCPT + 99 others); Tue, 18 Jun 2019 00:24:20 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:39110 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725826AbfFREYU (ORCPT ); Tue, 18 Jun 2019 00:24:20 -0400 Received: by mail-pg1-f195.google.com with SMTP id 196so6942713pgc.6; Mon, 17 Jun 2019 21:24:19 -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=trghcI0kguPxHRpabSOQXTiUe9keIUZtHbrrlskJREE=; b=QZsOIpMwAWIJq5VpLMmmI1bWXvKwULYlZMhJWReOjHQmCGZ9hGcn5ClX1vBs8CLQTa 4b/o2zbfbxHhOMJqgLZhTGhkOclpEfhy3kxhnk5xci5vHACSXJT6UnnlgbxenWjNxiXq agNhYS4vPV3NWf1HCxarmrK1v0VWA0F2BNFUsqqOX8IUxCmgRB1VRSA917LEfdDY4lvB cn5/1tofIDwq/V4awplFO+W2wqqEqiThup2pkpedzORIsJXdJ3uwzINQz9aMGzVdoxyR PZdwmiCHeGBEv+wh7kEsFloqILHTod0PxMKYJVXtN/pszSKrn7l55CtYo/lOZaglo+Nw wPcw== 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=trghcI0kguPxHRpabSOQXTiUe9keIUZtHbrrlskJREE=; b=LUoJ1Ho0Mj2xwC5Utvg2m4ztx22EoAxrWB9/w9qzqzVXg8ghZ4dSZyjYmpjXvlSW6q PvylOLPebE/5G3MczJDCtbeiSyxMj+0zkN5lmyi70dRZfly2JbOwktb8ixp75eVh7vBE /FaBNPH7OowBxJ4AWpQhU51kDdsPl3p21IjvKo0BHNbhI1h4AbJp+0vDG6+0/olHwN9M UKybyuYl0Y/pAKivyd30nIwf0sKAhW6geu0taRIRYCbZnchnYICIVqpAPoA7pWMSurfi zg7WITqvxjrOePArjwDvdbIN7ANUbnvdMfVTsuO5tmAv7AyQohlpP479Q+XKYWtaNWE5 iTrw== X-Gm-Message-State: APjAAAW5XhWNrfHPfEdhCzLKUQDc5uqudHrzllJ3qR6gs9Q0kYNhO5QP dtJQxxHN0BMHAhiYR3xTsNw= X-Received: by 2002:a62:1d8f:: with SMTP id d137mr34900719pfd.207.1560831859206; Mon, 17 Jun 2019 21:24:19 -0700 (PDT) Received: from localhost.localdomain ([112.196.181.128]) by smtp.googlemail.com with ESMTPSA id z20sm17754279pfk.72.2019.06.17.21.24.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 17 Jun 2019 21:24:18 -0700 (PDT) From: Puranjay Mohan To: Shuah Khan Cc: Puranjay Mohan , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, Alessandro Zummo , linux-kernel-mentees@lists.linuxfoundation.org Subject: [PATCH RESEND] rtc: Change type of 'count' from int to u64 Date: Tue, 18 Jun 2019 09:53:51 +0530 Message-Id: <20190618042351.9692-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 rtc_pie_update_irq() stores it in variable 'count' of type int change type of count from unsigned long to u64 to solve the issue. Signed-off-by: Puranjay Mohan --- RESEND - Added required mailing lists in CC drivers/rtc/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c index 4124f4dd376b..72b7ddc43116 100644 --- a/drivers/rtc/interface.c +++ b/drivers/rtc/interface.c @@ -633,7 +633,7 @@ enum hrtimer_restart rtc_pie_update_irq(struct hrtimer *timer) { struct rtc_device *rtc; ktime_t period; - int count; + u64 count; rtc = container_of(timer, struct rtc_device, pie_timer); -- 2.21.0