Skip to contentSkip to conversation

tty: serial: Fix typo in the comment

PATCH In review Hyuk Myeong 2 participants 2 messages Jun 9, 2015 – Jul 23, 2015 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tty: serial: Fix typo in the comment

This patch fix a spelling typo in the comment in synclink.c and synclinkmp.c.

---
 drivers/tty/synclink.c   | 4 ++--
 drivers/tty/synclinkmp.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/tty/synclink.c +0 -0
index b799170..3bbb07c 100644
@@ -7468,9 +7468,9 @@ static bool mgsl_memory_test( struct mgsl_struct *info

)
* memory.
*

  *     This function in effect, breaks the a large shared memory write
- *     into multiple transations by interleaving a shared memory read
+ *     into multiple transactions by interleaving a shared memory read
  *     which will flush the write FIFO and 'complete' the write
- *     transation. This allows any pending DMA request to gain control
+ *     transaction. This allows any pending DMA request to gain control
  *     of the local bus in a timely fasion.

*
* Arguments:

drivers/tty/synclinkmp.c +1 -2
index c3f9091..2ffcfe4 100644
@@ -5415,9 +5415,9 @@ static bool memory_test(SLMP_INFO *info)
  * and does not release the bus. This causes DMA latency problems
  * at high speeds when copying large data blocks to the shared memory.
  *
- * This function breaks a write into multiple transations by
+ * This function breaks a write into multiple transactions by
  * interleaving a read which flushes the write FIFO and 'completes'
- * the write transation. This allows any pending DMA request to gain

control
+ * the write transaction. This allows any pending DMA request to gain control
* of the local bus in a timely fasion.
*/
static void load_pci_memory(SLMP_INFO *info, char* dest, const char* src,
unsigned short count)
--
1.9.3

maintainer
#1 lore raw
Quoted 14 lines · Hyuk Myeong

This patch fix a spelling typo in the comment in synclink.c and synclinkmp.c.

---
 drivers/tty/synclink.c   | 4 ++--
 drivers/tty/synclinkmp.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/tty/synclink.c +0 -0
index b799170..3bbb07c 100644

drivers/tty/synclink.c static bool mgsl_memory_test( struct mgsl_struct *info · line 7468

Quoted 1 line
drivers/tty/synclink.c +0 -0
@@ -7468,9 +7468,9 @@ static bool mgsl_memory_test( struct mgsl_struct *info
 )

Patch is line-wrapped and does not apply :(