From patchwork Tue Jan 1 14:52:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Boldyrev X-Patchwork-Id: 1019773 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=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="g1vRpSM6"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43TcdH6hYZz9rxp for ; Wed, 2 Jan 2019 01:53:55 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728610AbfAAOwP (ORCPT ); Tue, 1 Jan 2019 09:52:15 -0500 Received: from mail-it1-f193.google.com ([209.85.166.193]:53586 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726389AbfAAOwP (ORCPT ); Tue, 1 Jan 2019 09:52:15 -0500 Received: by mail-it1-f193.google.com with SMTP id g85so38260220ita.3 for ; Tue, 01 Jan 2019 06:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=C3fv1U+mINHZ/8AkxMj1UwzJGxaDpJNcDbUYWSFuQ30=; b=g1vRpSM6sfS89zz6rPST2t9Z4U+KZFhtALiQSwn56+kTIph9RcHtBRycNyT/Llalqh eeHsv0etLrec36QnIcKbHDf0Kg7zgXL2MzkuoFiPmKcOvFb70SYaEPrqAkLUtPYHR7X8 8KgrOrhBrcXSdUfbJpMzgsjg/lSizqekVxB8OK9UV4IEW4R++LwPeJ1kICzLnqXAFa6Z sdlwXbebdOA/m7eMAna2eUwXHI2b3u+qIuiqz8+MiR+TYDp0jNg+evRM6nvSMZiQAW47 UF71KBjLQ7lQvbFLsQMDvR5Cg31BHLR9qzk3vDhyjPQlNGTYU/aGdsLUFJ4rTXJvXYRm isxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=C3fv1U+mINHZ/8AkxMj1UwzJGxaDpJNcDbUYWSFuQ30=; b=sirqs2QJNHzciL+7/6txjTiOtkV/OkHXKWMtYUH9RBwVNQPT1jWoF9fuiB8TxrMrGw 5HWUuzDOTyKM+u4O+5xgIqxPXnQhFYgnFlVUaMK2m5rlS4opwiuFmZRzyQRrcxXKXvKb 45LuoI/oosS6RE3jppaNpkjLGAL+uuu8bWQcktwToQp0T8CSBTQonIpeA/4kfemcphWs ZTOAeHWciaX2fMqcHiWgdc06Kr52yIC1dg2R2qnOA3PMbpVCMmnvQZsVUr9bnLIhAUK1 M62vgdMZt8ycJWvja21h6gEGycktimIYWKVf/XnTP9wTTDSvgW29j/yhamtDI60I1A/c rHKw== X-Gm-Message-State: AA+aEWYUSzhMkJ+t3OU89O3xeWuSna0wgpFrrL0DRoZwPA8pfNAvuLhu ojjK5FS1oT70nf+J/0WkJ4DN+LF7oHobaoUCyQuSaeAw X-Google-Smtp-Source: AFSGD/XLTS1ru5bFOYTS1AZ4mwZqqhSZ98hQadXVoFgAry7MGF1m7nvUhgELInLfjVC3uLcaVDMoLr4AOV8K1lJn+5o= X-Received: by 2002:a02:95e4:: with SMTP id b91mr24967440jai.15.1546354333583; Tue, 01 Jan 2019 06:52:13 -0800 (PST) MIME-Version: 1.0 From: Mark Boldyrev Date: Tue, 1 Jan 2019 16:52:02 +0200 Message-ID: Subject: [PATCH] atl1c: fix typo driection -> direction To: netdev@vger.kernel.org Cc: trivial@kernel.org Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From 24d036bfca48c4893d3e675ddc8ff1c394d66757 Mon Sep 17 00:00:00 2001 From: Mark Boldyrev Date: Tue, 1 Jan 2019 16:08:53 +0200 Subject: [PATCH] atl1c: fix typo driection -> direction The code of the atl1c driver contains a typo which is fixed in this patch. Signed-off-by: Mark Boldyrev --- drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index 7087b88550db..1322d2cf01d2 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c @@ -837,21 +837,21 @@ static int atl1c_sw_init(struct atl1c_adapter *adapter) static inline void atl1c_clean_buffer(struct pci_dev *pdev, struct atl1c_buffer *buffer_info) { - u16 pci_driection; + u16 pci_direction; if (buffer_info->flags & ATL1C_BUFFER_FREE) return; if (buffer_info->dma) { if (buffer_info->flags & ATL1C_PCIMAP_FROMDEVICE) - pci_driection = PCI_DMA_FROMDEVICE; + pci_direction = PCI_DMA_FROMDEVICE; else - pci_driection = PCI_DMA_TODEVICE; + pci_direction = PCI_DMA_TODEVICE; if (buffer_info->flags & ATL1C_PCIMAP_SINGLE) pci_unmap_single(pdev, buffer_info->dma, - buffer_info->length, pci_driection); + buffer_info->length, pci_direction); else if (buffer_info->flags & ATL1C_PCIMAP_PAGE) pci_unmap_page(pdev, buffer_info->dma, - buffer_info->length, pci_driection); + buffer_info->length, pci_direction); } if (buffer_info->skb) dev_consume_skb_any(buffer_info->skb);