From: Tim Schmielau <tim@physik3.uni-rostock.de>
To: <paulus@samba.org>
Cc: Linus Torvalds <torvalds@transmeta.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
<linux-kernel@vger.kernel.org>,
Andreas Dilger <adilger@turbolabs.com>
Subject: [PATCH] ppp_async.c jiffies cleanup
Date: Tue, 6 Nov 2001 20:32:38 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.30.0111062015290.23598-100000@gans.physik3.uni-rostock.de> (raw)
Dear Paul, Linus, Alan,
one more jiffies cleanup to use the comparison macros along the lines
Andreas Dilger already pointed out on lkml. I intend to post several
patches like this one in the future as time permits.
Tim
--- ../linux-2.4.14-pre6/drivers/net/ppp_async.c Sun Sep 30 21:26:07 2001
+++ drivers/net/ppp_async.c Tue Nov 6 20:27:28 2001
@@ -497,7 +497,7 @@
* character if necessary.
*/
if (islcp || flag_time == 0
- || jiffies - ap->last_xmit >= flag_time)
+ || time_after_eq(jiffies, ap->last_xmit + flag_time))
*buf++ = PPP_FLAG;
ap->last_xmit = jiffies;
fcs = PPP_INITFCS;
reply other threads:[~2001-11-06 19:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=Pine.LNX.4.30.0111062015290.23598-100000@gans.physik3.uni-rostock.de \
--to=tim@physik3.uni-rostock.de \
--cc=adilger@turbolabs.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
--cc=torvalds@transmeta.com \
/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;
as well as URLs for NNTP newsgroup(s).