Skip to contentSkip to conversation

staging: greybus: fix spelling mistake "entires" -> "entries"

PATCH In review Colin King 2 participants 3 messages Sep 14, 2018

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 staging: greybus: fix spelling mistake "entires" -> "entries"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake

---
 drivers/staging/greybus/tools/README.loopback | 2 +-
 drivers/staging/greybus/tools/loopback_test.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/greybus/tools/README.loopback +1 -1
index 845b08dc4696..070a510cbe7c 100644
@@ -79,7 +79,7 @@ Here is the summary of the available options:
    -t     must be one of the test names - sink, transfer or ping
    -i     iteration count - the number of iterations to run the test over
  Optional arguments
-   -S     sysfs location - location for greybus 'endo' entires default /sys/bus/greybus/devices/
+   -S     sysfs location - location for greybus 'endo' entries default /sys/bus/greybus/devices/
    -D     debugfs location - location for loopback debugfs entries default /sys/kernel/debug/gb_loopback/
    -s     size of data packet to send during test - defaults to zero
    -m     mask - a bit mask of connections to include example: -m 8 = 4th connection -m 9 = 1st and 4th connection etc
drivers/staging/greybus/tools/loopback_test.c +1 -1
index b82e2befe935..2fa88092514d 100644
@@ -192,7 +192,7 @@ void usage(void)
 	"   -t     must be one of the test names - sink, transfer or ping\n"
 	"   -i     iteration count - the number of iterations to run the test over\n"
 	" Optional arguments\n"
-	"   -S     sysfs location - location for greybus 'endo' entires default /sys/bus/greybus/devices/\n"
+	"   -S     sysfs location - location for greybus 'endo' entries default /sys/bus/greybus/devices/\n"
 	"   -D     debugfs location - location for loopback debugfs entries default /sys/kernel/debug/gb_loopback/\n"
 	"   -s     size of data packet to send during test - defaults to zero\n"
 	"   -m     mask - a bit mask of connections to include example: -m 8 = 4th connection -m 9 = 1st and 4th connection etc\n"
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Colin King

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake

I hate to have two-character fixes to documentation like this. I.e., as long as you're touching the README file it might have been nice to review it and look for other things. I suspect you found this in the program output though, and also noticed it in the README file.

So... Looks good to me.

Quoted 34 lines
---
 drivers/staging/greybus/tools/README.loopback | 2 +-
 drivers/staging/greybus/tools/loopback_test.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/greybus/tools/README.loopback +1 -1
index 845b08dc4696..070a510cbe7c 100644
@@ -79,7 +79,7 @@ Here is the summary of the available options:
    -t     must be one of the test names - sink, transfer or ping
    -i     iteration count - the number of iterations to run the test over
  Optional arguments
-   -S     sysfs location - location for greybus 'endo' entires default /sys/bus/greybus/devices/
+   -S     sysfs location - location for greybus 'endo' entries default /sys/bus/greybus/devices/
    -D     debugfs location - location for loopback debugfs entries default /sys/kernel/debug/gb_loopback/
    -s     size of data packet to send during test - defaults to zero
    -m     mask - a bit mask of connections to include example: -m 8 = 4th connection -m 9 = 1st and 4th connection etc
drivers/staging/greybus/tools/loopback_test.c +1 -1
index b82e2befe935..2fa88092514d 100644
@@ -192,7 +192,7 @@ void usage(void)
 	"   -t     must be one of the test names - sink, transfer or ping\n"
 	"   -i     iteration count - the number of iterations to run the test over\n"
 	" Optional arguments\n"
-	"   -S     sysfs location - location for greybus 'endo' entires default /sys/bus/greybus/devices/\n"
+	"   -S     sysfs location - location for greybus 'endo' entries default /sys/bus/greybus/devices/\n"
 	"   -D     debugfs location - location for loopback debugfs entries default /sys/kernel/debug/gb_loopback/\n"
 	"   -s     size of data packet to send during test - defaults to zero\n"
 	"   -m     mask - a bit mask of connections to include example: -m 8 = 4th connection -m 9 = 1st and 4th connection etc\n"
#2 lore raw
Quoted 9 lines · Alex Elder
Quoted 3 lines · Colin King

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake

I hate to have two-character fixes to documentation like this. I.e., as long as you're touching the README file it might have been nice to review it and look for other things. I suspect you found this in the program output though, and also noticed it in the README file.

Indeed, it was the program output where the mistake was first spotted.

Quoted 40 lines

So... Looks good to me.

Quoted 34 lines
---
 drivers/staging/greybus/tools/README.loopback | 2 +-
 drivers/staging/greybus/tools/loopback_test.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/greybus/tools/README.loopback +1 -1
index 845b08dc4696..070a510cbe7c 100644
@@ -79,7 +79,7 @@ Here is the summary of the available options:
    -t     must be one of the test names - sink, transfer or ping
    -i     iteration count - the number of iterations to run the test over
  Optional arguments
-   -S     sysfs location - location for greybus 'endo' entires default /sys/bus/greybus/devices/
+   -S     sysfs location - location for greybus 'endo' entries default /sys/bus/greybus/devices/
    -D     debugfs location - location for loopback debugfs entries default /sys/kernel/debug/gb_loopback/
    -s     size of data packet to send during test - defaults to zero
    -m     mask - a bit mask of connections to include example: -m 8 = 4th connection -m 9 = 1st and 4th connection etc
drivers/staging/greybus/tools/loopback_test.c +1 -1
index b82e2befe935..2fa88092514d 100644
@@ -192,7 +192,7 @@ void usage(void)
 	"   -t     must be one of the test names - sink, transfer or ping\n"
 	"   -i     iteration count - the number of iterations to run the test over\n"
 	" Optional arguments\n"
-	"   -S     sysfs location - location for greybus 'endo' entires default /sys/bus/greybus/devices/\n"
+	"   -S     sysfs location - location for greybus 'endo' entries default /sys/bus/greybus/devices/\n"
 	"   -D     debugfs location - location for loopback debugfs entries default /sys/kernel/debug/gb_loopback/\n"
 	"   -s     size of data packet to send during test - defaults to zero\n"
 	"   -m     mask - a bit mask of connections to include example: -m 8 = 4th connection -m 9 = 1st and 4th connection etc\n"