mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: <zhang.enpei@zte.com.cn>
Cc: <chessman@tux.org>, <andrew+netdev@lunn.ch>,
	<davem@davemloft.net>, <edumazet@google.com>, <pabeni@redhat.com>,
	<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ethernet: tlan: Convert to use jiffies macro
Date: Thu, 21 Aug 2025 15:50:13 -0700	[thread overview]
Message-ID: <20250821155013.52e56218@kernel.org> (raw)
In-Reply-To: <20250819161616455E67Ux3eifLtzWBrN8i6Fr@zte.com.cn>

On Tue, 19 Aug 2025 16:16:16 +0800 (CST) zhang.enpei@zte.com.cn wrote:
> +                       if (time_after_eq(jiffies, priv->timer_set_at + TLAN_TIMER_ACT_DELAY)) {

Better still: time_is_after_eq_jiffies()
-- 
pw-bot: cr

  parent reply	other threads:[~2025-08-21 22:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-19  8:16 zhang.enpei
2025-08-20  9:29 ` Przemek Kitszel
2025-08-21 22:50 ` Jakub Kicinski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-07 12:17 zhang.enpei
2025-08-08 19:52 ` Jakub Kicinski

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=20250821155013.52e56218@kernel.org \
    --to=kuba@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=chessman@tux.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=zhang.enpei@zte.com.cn \
    /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®