[PATCH] net/atm/common.c fix a spelling mistake

Subsystems: atm, networking [general], the rest

STALE1923d

2 messages, 2 authors, 2021-06-07 · open the first message on its own page

[PATCH] net/atm/common.c fix a spelling mistake

From: <hidden>
Date: 2021-06-07 06:38:41

From: gushengxian <redacted>

iff should be changed to if.

Signed-off-by: gushengxian <redacted>
---
 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

Re: [PATCH] net/atm/common.c fix a spelling mistake

From: David Miller <davem@davemloft.net>
Date: 2021-06-07 20:19:16

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

iff should be changed to if.

Signed-off-by: gushengxian <redacted>
'iff' is the canonical way to say 'if and only if'.

I'm not applying this, sorry.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help