From patchwork Thu May 31 12:18:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thadeu Lima de Souza Cascardo X-Patchwork-Id: 923345 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40xRMt15Gsz9s08 for ; Thu, 31 May 2018 22:19:06 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754862AbeEaMTD (ORCPT ); Thu, 31 May 2018 08:19:03 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:56168 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754717AbeEaMTB (ORCPT ); Thu, 31 May 2018 08:19:01 -0400 Received: from [191.205.122.162] (helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1fOMXk-0001kq-93; Thu, 31 May 2018 12:19:00 +0000 From: Thadeu Lima de Souza Cascardo To: netdev@vger.kernel.org Cc: dmitry.tarnyagin@lockless.no Subject: [PATCH] caif: use non-archaic spelling of failes Date: Thu, 31 May 2018 09:18:55 -0300 Message-Id: <20180531121855.9139-1-cascardo@canonical.com> X-Mailer: git-send-email 2.17.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Thadeu Lima de Souza Cascardo --- 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;