* [PATCH] caif: use non-archaic spelling of failes
@ 2018-05-31 12:18 Thadeu Lima de Souza Cascardo
0 siblings, 0 replies; only message in thread
From: Thadeu Lima de Souza Cascardo @ 2018-05-31 12:18 UTC (permalink / raw)
To: netdev; +Cc: dmitry.tarnyagin
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
---
include/net/caif/caif_layer.h | 2 +-
net/caif/cfrfml.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/net/caif/caif_layer.h b/include/net/caif/caif_layer.h
index 94e5ed64dc6d..8a114e57bcb6 100644
--- a/include/net/caif/caif_layer.h
+++ b/include/net/caif/caif_layer.h
@@ -22,7 +22,7 @@ struct caif_packet_funcs;
* @assert: expression to evaluate.
*
* This function will print a error message and a do WARN_ON if the
- * assertion failes. Normally this will do a stack up at the current location.
+ * assertion fails. Normally this will do a stack up at the current location.
*/
#define caif_assert(assert) \
do { \
diff --git a/net/caif/cfrfml.c b/net/caif/cfrfml.c
index b82440e1fcb4..3f2c63c78004 100644
--- a/net/caif/cfrfml.c
+++ b/net/caif/cfrfml.c
@@ -85,7 +85,7 @@ static struct cfpkt *rfm_append(struct cfrfml *rfml, char *seghead,
tmppkt = cfpkt_append(rfml->incomplete_frm, pkt,
rfml->pdu_size + RFM_HEAD_SIZE);
- /* If cfpkt_append failes input pkts are not freed */
+ /* If cfpkt_append fails input pkts are not freed */
*err = -ENOMEM;
if (tmppkt == NULL)
return NULL;
--
2.17.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-31 12:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-31 12:18 [PATCH] caif: use non-archaic spelling of failes Thadeu Lima de Souza Cascardo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).