mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [failures] net-decnet-use-time_is_before_jiffies-instead-of-open-coding-it.patch removed from -mm tree
@ 2022-04-25 23:59 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-04-25 23:59 UTC (permalink / raw)
  To: mm-commits, zhengyongjun3, yajun.deng, pabeni, kuba, davem,
	wangqing, akpm


The patch titled
     Subject: net: decnet: use time_is_before_jiffies() instead of open coding it
has been removed from the -mm tree.  Its filename was
     net-decnet-use-time_is_before_jiffies-instead-of-open-coding-it.patch

This patch was dropped because it had testing failures

------------------------------------------------------
From: Wang Qing <wangqing@vivo.com>
Subject: net: decnet: use time_is_before_jiffies() instead of open coding it

Use the helper function time_is_{before,after}_jiffies() to improve code
readability.

Link: https://lkml.kernel.org/r/1650621172-66967-11-git-send-email-wangqing@vivo.com
Signed-off-by: Wang Qing <wangqing@vivo.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Zheng Yongjun <zhengyongjun3@huawei.com>
Cc: Yajun Deng <yajun.deng@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 net/decnet/dn_route.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/net/decnet/dn_route.c~net-decnet-use-time_is_before_jiffies-instead-of-open-coding-it
+++ a/net/decnet/dn_route.c
@@ -70,6 +70,7 @@
 #include <linux/rcupdate.h>
 #include <linux/times.h>
 #include <linux/export.h>
+#include <linux/jiffies.h>
 #include <asm/errno.h>
 #include <net/net_namespace.h>
 #include <net/netlink.h>
@@ -201,7 +202,7 @@ static void dn_dst_check_expire(struct t
 		}
 		spin_unlock(&dn_rt_hash_table[i].lock);
 
-		if ((jiffies - now) > 0)
+		if (time_is_before_jiffies(now))
 			break;
 	}
 
_

Patches currently in -mm which might be from wangqing@vivo.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-25 23:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 23:59 [failures] net-decnet-use-time_is_before_jiffies-instead-of-open-coding-it.patch removed from -mm tree Andrew Morton

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).