lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 1 Jan 2019 16:52:02 +0200
From:   Mark Boldyrev <markboldyrev@...il.com>
To:     netdev@...r.kernel.org
Cc:     trivial@...nel.org
Subject: [PATCH] atl1c: fix typo driection -> direction

>From 24d036bfca48c4893d3e675ddc8ff1c394d66757 Mon Sep 17 00:00:00 2001
From: Mark Boldyrev <markboldyrev@...il.com>
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 <markboldyrev@...il.com>

---
 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);
-- 
2.11.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ