[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191120.120809.1526734581965504532.davem@davemloft.net>
Date: Wed, 20 Nov 2019 12:08:09 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: tuong.t.lien@...tech.com.au
Cc: jon.maloy@...csson.com, maloy@...jonn.com, ying.xue@...driver.com,
netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net
Subject: Re: [net-next] tipc: support in-order name publication events
From: Tuong Lien <tuong.t.lien@...tech.com.au>
Date: Wed, 20 Nov 2019 09:15:19 +0700
> @@ -277,6 +283,17 @@ static struct publication *tipc_service_remove_publ(struct service_range *sr,
> return NULL;
> }
>
> +#define publication_after(pa, pb) (((int)((pb)->id - (pa)->id) < 0))
We have enough of these things, please use existing interfaces such
as time32_after() et al.
Thank you.
Powered by blists - more mailing lists