All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] atl1c: fix typo driection -> direction
@ 2019-01-01 14:52 Mark Boldyrev
  2019-01-01 21:45 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Boldyrev @ 2019-01-01 14:52 UTC (permalink / raw)
  To: netdev; +Cc: trivial

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] atl1c: fix typo driection -> direction
  2019-01-01 14:52 [PATCH] atl1c: fix typo driection -> direction Mark Boldyrev
@ 2019-01-01 21:45 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-01-01 21:45 UTC (permalink / raw)
  To: markboldyrev; +Cc: netdev, trivial

From: Mark Boldyrev <markboldyrev@gmail.com>
Date: Tue, 1 Jan 2019 16:52:02 +0200

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

This patch was mangled by your email client, and therefore doesn't apply
properly.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-01 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01 14:52 [PATCH] atl1c: fix typo driection -> direction Mark Boldyrev
2019-01-01 21:45 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.