Skip to contentSkip to conversation

staging "vme" Fix typos.

PATCH Superseded Justin P. Mattock 2 participants 2 messages Aug 13, 2012 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging "vme" Fix typos.

From: "Justin P. Mattock" <[email protected]>

---

The below patch fixes typos found while reading through staging "vme"

 drivers/staging/vme/devices/Kconfig    |    2 +-
 drivers/staging/vme/devices/vme_user.c |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/staging/vme/devices/Kconfig +1 -1
index d0cab17..5504ab4 100644
@@ -5,7 +5,7 @@ config VME_USER
 	depends on STAGING
 	help
 	  If you say Y here you want to be able to access a limited number of
-	  VME windows in a manner at least semi-compatible with the interface
+	  VME windows in a manner atleast semi-compatible with the interface
 	  provided with the original driver at http://vmelinux.org/.
 
 config VME_PIO2
drivers/staging/vme/devices/vme_user.c +3 -3
index e25645e..46f60d6 100644
@@ -64,12 +64,12 @@ static unsigned int bus_num;
  *
  * However the VME driver at http://www.vmelinux.org/ is rather old and doesn't
  * even support the tsi148 chipset (which has 8 master and 8 slave windows).
- * We'll run with this or now as far as possible, however it probably makes
+ * We'll run with this for now as far as possible, however it probably makes
  * sense to get rid of the old mappings and just do everything dynamically.
  *
  * So for now, we'll restrict the driver to providing 4 masters and 4 slaves as
  * defined above and try to support at least some of the interface from
- * http://www.vmelinux.org/ as an alternative drive can be written providing a
+ * http://www.vmelinux.org/ as an alternative the driver can be written providing a
  * saner interface later.
  *
  * The vmelinux.org driver never supported slave images, the devices reserved
@@ -242,7 +242,7 @@ static ssize_t resource_to_user(int minor, char __user *buf, size_t count,
 }
 
 /*
- * We are going ot alloc a page during init per window for small transfers.
+ * We are going to alloc a page during init per window for small transfers.
  * Small transfers will go user space -> buffer -> VME. Larger (more than a
  * page) transfers will lock the user space buffer into memory and then
  * transfer the data directly from the user space buffers out to VME.
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 17 lines · Justin P. Mattock

From: "Justin P. Mattock" <[email protected]>

---

The below patch fixes typos found while reading through staging "vme"

 drivers/staging/vme/devices/Kconfig    |    2 +-
 drivers/staging/vme/devices/vme_user.c |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/staging/vme/devices/Kconfig +0 -0
index d0cab17..5504ab4 100644

drivers/staging/vme/devices/Kconfig config VME_USER · line 8

Quoted 5 lines
drivers/staging/vme/devices/Kconfig +1 -1
@@ -5,7 +5,7 @@ config VME_USER
 	depends on STAGING
 	help
 	  If you say Y here you want to be able to access a limited number of
-	  VME windows in a manner at least semi-compatible with the interface
+	  VME windows in a manner atleast semi-compatible with the interface

Um, are you sure? I don't think "atleast" is a word.

Quoted 9 lines
drivers/staging/vme/devices/Kconfig +0 -0
 	  provided with the original driver at http://vmelinux.org/.
 
 config VME_PIO2
drivers/staging/vme/devices/vme_user.c +0 -0
index e25645e..46f60d6 100644
@@ -64,12 +64,12 @@ static unsigned int bus_num;
  *

drivers/staging/vme/devices/vme_user.c static unsigned int bus_num; · line 72

Quoted 10 lines
drivers/staging/vme/devices/vme_user.c +2 -2
  * However the VME driver at http://www.vmelinux.org/ is rather old and doesn't
  * even support the tsi148 chipset (which has 8 master and 8 slave windows).
- * We'll run with this or now as far as possible, however it probably makes
+ * We'll run with this for now as far as possible, however it probably makes
  * sense to get rid of the old mappings and just do everything dynamically.
  *
  * So for now, we'll restrict the driver to providing 4 masters and 4 slaves as
  * defined above and try to support at least some of the interface from
- * http://www.vmelinux.org/ as an alternative drive can be written providing a
+ * http://www.vmelinux.org/ as an alternative the driver can be written providing a

Sorry, but you'll have to wrap the line here. The comment now extends beyond 80 characters.

drivers/staging/vme/devices/vme_user.c static ssize_t resource_to_user(int minor, char __user *buf, size_t count, · line 245

Quoted 9 lines
drivers/staging/vme/devices/vme_user.c +1 -1
  * saner interface later.
  *
  * The vmelinux.org driver never supported slave images, the devices reserved
@@ -242,7 +242,7 @@ static ssize_t resource_to_user(int minor, char __user *buf, size_t count,
 }
 
 /*
- * We are going ot alloc a page during init per window for small transfers.
+ * We are going to alloc a page during init per window for small transfers.

Yup - that's OK.

Care to fix up the issues above?

Martyn

Quoted 4 lines
drivers/staging/vme/devices/vme_user.c +0 -0
  * Small transfers will go user space -> buffer -> VME. Larger (more than a
  * page) transfers will lock the user space buffer into memory and then
  * transfer the data directly from the user space buffers out to VME.
Signature · 4 lines
Martyn Welch (Lead Software Engineer)  | Registered in England and Wales
GE Intelligent Platforms               | (3828642) at 100 Barbirolli Square
T +44(0)1327322748                     | Manchester, M2 3AB
E [email protected]                  | VAT:GB 927559189