2021-06-07 06:42:16

by gushengxian

[permalink] [raw]
Subject: [PATCH] net/atm/common.c fix a spelling mistake

From: gushengxian <[email protected]>

iff should be changed to if.

Signed-off-by: gushengxian <[email protected]>
---
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


2021-06-07 20:22:28

by David Miller

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

From: [email protected]
Date: Sun, 6 Jun 2021 23:38:19 -0700

> From: gushengxian <[email protected]>
>
> iff should be changed to if.
>
> Signed-off-by: gushengxian <[email protected]>

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

I'm not applying this, sorry.