Skip to contentSkip to conversation

sctp: spelling fixes

PATCH In review Stephen Hemminger 2 participants 2 messages Oct 29, 2014 – Oct 30, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sctp: spelling fixes

net/sctp/bind_addr.c +1 -1
@@ -212,7 +212,7 @@ int sctp_del_bind_addr(struct sctp_bind_
 }
 
 /* Create a network byte-order representation of all the addresses
- * formated as SCTP parameters.
+ * formatted as SCTP parameters.
  *
  * The second argument is the return value for the length.
  */
net/sctp/sm_make_chunk.c +2 -2
@@ -3153,7 +3153,7 @@ bool sctp_verify_asconf(const struct sct
 				return false;
 			break;
 		default:
-			/* This is unkown to us, reject! */
+			/* This is unknown to us, reject! */
 			return false;
 		}
 	}
@@ -3214,7 +3214,7 @@ struct sctp_chunk *sctp_process_asconf(s
 
 	/* Process the TLVs contained within the ASCONF chunk. */
 	sctp_walk_params(param, addip, addip_hdr.params) {
-		/* Skip preceeding address parameters. */
+		/* Skip preceding address parameters. */
 		if (param.p->type = SCTP_PARAM_IPV4_ADDRESS ||
 		    param.p->type = SCTP_PARAM_IPV6_ADDRESS)
 			continue;
Acked-by on v1 1/1
#1 lore raw
Quoted 28 lines · Stephen Hemminger
net/sctp/bind_addr.c +1 -1
@@ -212,7 +212,7 @@ int sctp_del_bind_addr(struct sctp_bind_
 }
 
 /* Create a network byte-order representation of all the addresses
- * formated as SCTP parameters.
+ * formatted as SCTP parameters.
  *
  * The second argument is the return value for the length.
  */
net/sctp/sm_make_chunk.c +1 -1
@@ -3153,7 +3153,7 @@ bool sctp_verify_asconf(const struct sct
 				return false;
 			break;
 		default:
-			/* This is unkown to us, reject! */
+			/* This is unknown to us, reject! */
 			return false;
 		}
 	}

net/sctp/sm_make_chunk.c struct sctp_chunk *sctp_process_asconf(s · line 3220

Quoted 8 lines
net/sctp/sm_make_chunk.c +1 -1
@@ -3214,7 +3214,7 @@ struct sctp_chunk *sctp_process_asconf(s
 
 	/* Process the TLVs contained within the ASCONF chunk. */
 	sctp_walk_params(param, addip, addip_hdr.params) {
-		/* Skip preceeding address parameters. */
+		/* Skip preceding address parameters. */
 		if (param.p->type = SCTP_PARAM_IPV4_ADDRESS ||
 		    param.p->type = SCTP_PARAM_IPV6_ADDRESS)
 			continue;