diff mbox series

net/atm/common.c fix a spelling mistake

Message ID 20210607063819.377166-1-13145886936@163.com
State New
Headers show
Series net/atm/common.c fix a spelling mistake | expand

Commit Message

gushengxian June 7, 2021, 6:38 a.m. UTC
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(-)

Comments

David Miller June 7, 2021, 8:18 p.m. UTC | #1
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.
diff mbox series

Patch

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) */