All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net/atm/common.c fix a spelling mistake
@ 2021-06-07  6:38 13145886936
  2021-06-07 20:18 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: 13145886936 @ 2021-06-07  6:38 UTC (permalink / raw)
  To: davem, kuba; +Cc: netdev, linux-kernel, gushengxian

From: gushengxian <gushengxian@yulong.com>

iff should be changed to if.

Signed-off-by: gushengxian <gushengxian@yulong.com>
---
 net/atm/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/atm/common.c b/net/atm/common.c
index 1cfa9bf1d187..55e92982a484 100644
--- a/net/atm/common.c
+++ b/net/atm/common.c
@@ -328,7 +328,7 @@ static int check_ci(const struct atm_vcc *vcc, short vpi, int vci)
 			return -EADDRINUSE;
 	}
 
-	/* allow VCCs with same VPI/VCI iff they don't collide on
+	/* allow VCCs with same VPI/VCI if they don't collide on
 	   TX/RX (but we may refuse such sharing for other reasons,
 	   e.g. if protocol requires to have both channels) */
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net/atm/common.c fix a spelling mistake
  2021-06-07  6:38 [PATCH] net/atm/common.c fix a spelling mistake 13145886936
@ 2021-06-07 20:18 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2021-06-07 20:18 UTC (permalink / raw)
  To: 13145886936; +Cc: kuba, netdev, linux-kernel, gushengxian

From: 13145886936@163.com
Date: Sun,  6 Jun 2021 23:38:19 -0700

> From: gushengxian <gushengxian@yulong.com>
> 
> iff should be changed to if.
> 
> Signed-off-by: gushengxian <gushengxian@yulong.com>

'iff' is the canonical way to say 'if and only if'.

I'm not applying this, sorry.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-07 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07  6:38 [PATCH] net/atm/common.c fix a spelling mistake 13145886936
2021-06-07 20:18 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.