Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp712034pxb; Thu, 23 Sep 2021 09:07:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6XmtFVUQTsqbAbwoz8jkrLLh5HOqPvkV/kLkm0I8yRzts/leCtODBfbvOus6TooxHrdys X-Received: by 2002:a05:6402:1cb1:: with SMTP id cz17mr6494108edb.191.1632413242817; Thu, 23 Sep 2021 09:07:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632413242; cv=none; d=google.com; s=arc-20160816; b=StwXyqeNAXkh/wCLj0djOLd7HmRXT5vAdcA59IYdQzJBhkgTDePQXjRcnwQ+QWLPGm eFJsTK4DiF3vRXWmr+5EqVNoY8yy/y8/GbdcJKiNtzG+7Mafu5Pchxx3QltJi5nbLUlY E1ivDDx7iTUZOzd8j3gjmguf1po0LhvxuKvLRRbhmghxP+rn6Ugw0rn0BHSvR+7x2mgx uVUPZIgqAp6HGvcBp2o58jhnomG86tX/k7CtkWG8LHgQmHedRMNuK1IpMQS5wu/uZH4Z 1yUmfovH2GZ3IDhiqi39r0E9mFQ68iLwxHUjnlnYl4VnwgBJj7EaAFAP6z40cZ7lfzez THcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:mime-version:references:subject:cc:to:from :dkim-signature:dkim-signature:message-id; bh=V+wcLznHEL6e40Q6X7LpkxWU7Zjc25v6soPUcFLqFBY=; b=eiUzbqPKZ6vy9Ls26TbBcKCzDhcKGGi+XIMfW6CVA2+suCiF4qwISIUf0eRdfE3kpP ZlhU5oDgcuqk3lEAwrd63xcAy2JK1WAYq9orzJxKwToWuAY6nrWEbqm6/dIS+CfCt9l6 d9x3ywWi/dlXbXlLRuA9/AQd/zeN3wtiwGUTURF+2Xl7lez7exccQDVgA5HYsjAqwWYZ l5f7V/+dLOKxoKMGTZnb5Ai1NXEPPHwjNh+XehDawsdvCPH5o2B32G7QEMz0LGUN3GOK pfSjThOkXrjqyvRi+x/KfG1J6VMvwRsJwtkb1iV3rjaAanZfL4nE3VU0j+Q2CSTFSU// y4KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dVM4Xum+; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=ntmMbnkL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o26si6183368edt.156.2021.09.23.09.06.46; Thu, 23 Sep 2021 09:07:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dVM4Xum+; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=ntmMbnkL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242451AbhIWQGT (ORCPT + 99 others); Thu, 23 Sep 2021 12:06:19 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:35468 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242406AbhIWQGA (ORCPT ); Thu, 23 Sep 2021 12:06:00 -0400 Message-ID: <20210923153339.684546907@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1632413067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=V+wcLznHEL6e40Q6X7LpkxWU7Zjc25v6soPUcFLqFBY=; b=dVM4Xum+mQkFstydxFuGf5BisZe/c9O6s8w6jSuLA7aFJd64a6TX3rafQ7vbCLrtT/RRA6 gEO/cN+Q80Lw8ckbKyKPdtAyEhTVfHQNeRSRkDriW9nq5Hfgr5C8POOVqcqbu8bdu88eJO j5QeAHVtuCQ12n3kSEYR9S3xZvBHuvkSxHTZ6HLo8CLhymUTm8p17YJMGuxRMqbNOHcNuy MeMmKn7fUvaSw+XermL9Bmbx7npPdu3i4jNyhHgqxoGxDBBjTbxVeHgIqTxSd6OUpLdNAc gtnHXiI0kzTRVIgvk63MJvpnghAzdCg6Hqv27hl+ub2eJNg2GFZsbow5p3os4g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1632413067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=V+wcLznHEL6e40Q6X7LpkxWU7Zjc25v6soPUcFLqFBY=; b=ntmMbnkLf5fxazFGm6OXJkBz0j1nWLwzO+vpZ3AaiKb0kCzl1acxcdGqKpK2N87Ikus9f6 sSAAqtt7HpZ1EaBA== From: Thomas Gleixner To: LKML Cc: Peter Zijlstra , Oliver Hartkopp , linux-can@vger.kernel.org, Marc Kleine-Budde , netdev@vger.kernel.org, Jakub Kicinski , "David S. Miller" Subject: [patch 05/11] can: bcm: Use hrtimer_forward_now() References: <20210923153311.225307347@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Thu, 23 Sep 2021 18:04:27 +0200 (CEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hrtimer_forward_now() provides the same functionality as the open coded hrimer_forward() invocation. Prepares for removal of hrtimer_forward() from the public interfaces. Signed-off-by: Thomas Gleixner Cc: Oliver Hartkopp Cc: linux-can@vger.kernel.org Cc: Marc Kleine-Budde Cc: netdev@vger.kernel.org Cc: Jakub Kicinski Cc: "David S. Miller" --- net/can/bcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/can/bcm.c +++ b/net/can/bcm.c @@ -625,7 +625,7 @@ static enum hrtimer_restart bcm_rx_thr_h struct bcm_op *op = container_of(hrtimer, struct bcm_op, thrtimer); if (bcm_rx_thr_flush(op)) { - hrtimer_forward(hrtimer, ktime_get(), op->kt_ival2); + hrtimer_forward_now(hrtimer, op->kt_ival2); return HRTIMER_RESTART; } else { /* rearm throttle handling */