Skip to contentSkip to conversation

Fix some typos in doc and man pages

PATCH RESEND New Andrea Claudi 1 participant 4 messages May 12, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Fix some typos in doc and man pages

As per description, this series contains some typo fixes on doc and man pages.

- patch 1/3 fixes a typo in a devlink example
- patch 2/3 fixes typos on some man pages
- patch 3/3 fixes a typo in the tc actions doc

Andrea Claudi (3):
man: devlink-region: fix typo in example
man: fix some typos
doc: fix 'infact' --> 'in fact' typo

 doc/actions/actions-general | 2 +-
 man/man8/dcb-app.8          | 2 +-
 man/man8/dcb-dcbx.8         | 2 +-
 man/man8/devlink-dev.8      | 2 +-
 man/man8/devlink-region.8   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.35.3
#1 lore raw

PATCH RESEND 1/3 man: devlink-region: fix typo in example

devlink-region does not accept the legth param, but the length one.

Fixes 8b4fbf0bed8e ("devlink: Add support for devlink-region access")
---
 man/man8/devlink-region.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man/man8/devlink-region.8 +1 -1
index c6756566..e6617c18 100644
@@ -116,7 +116,7 @@ devlink region dump pci/0000:00:05.0/cr-space snapshot 1
 Dump the snapshot taken from cr-space address region with ID 1
 .RE
 .PP
-devlink region read pci/0000:00:05.0/cr-space snapshot 1 address 0x10 legth 16
+devlink region read pci/0000:00:05.0/cr-space snapshot 1 address 0x10 length 16
 .RS 4
 Read from address 0x10, 16 Bytes of snapshot ID 1 taken from cr-space address region
 .RE
Signature · 1 line
2.35.3
#2 lore raw

PATCH RESEND 2/3 man: fix some typos

In reply to Andrea Claudi

In dcb-app man page, 'direcly' should be 'directly' In dcb-dcbx man page, 'respecively' should be 'respectively' In devlink-dev man page, 'unspecificed' should be 'unspecified'

---
 man/man8/dcb-app.8     | 2 +-
 man/man8/dcb-dcbx.8    | 2 +-
 man/man8/devlink-dev.8 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
man/man8/dcb-app.8 +1 -1
index 23fd3374..9780fe4b 100644
@@ -170,7 +170,7 @@ priorities that should be assigned to matching traffic.
 \fIDSCP-MAP\fR uses the array parameter syntax, see
 .BR dcb (8)
 for details. Keys are DSCP points, values are priorities assigned to
-traffic with matching DSCP. DSCP points can be written either direcly as
+traffic with matching DSCP. DSCP points can be written either directly as
 numeric values, or using symbolic names specified in
 .B /etc/iproute2/rt_dsfield
 (however note that that file specifies full 8-bit dsfield values, whereas
man/man8/dcb-dcbx.8 +1 -1
index 52133e34..bafc18f6 100644
@@ -67,7 +67,7 @@ allows setting both and lets the driver handle it as appropriate.
 .B cee
 .TQ
 .B ieee
-The device supports CEE (Converged Enhanced Ethernet) and, respecively, IEEE
+The device supports CEE (Converged Enhanced Ethernet) and, respectively, IEEE
 version of the DCB specification. Typically only one of these will be set, but
 .B dcb dcbx
 does not mandate this.
man/man8/devlink-dev.8 +1 -1
index 22735dc1..6906e509 100644
@@ -199,7 +199,7 @@ pending this action will reload current firmware image.
 
 .B limit no_reset
 - Specifies limitation on reload action.
-If this argument is omitted limit is unspecificed and the reload action is not
+If this argument is omitted limit is unspecified and the reload action is not
 limited. In such case driver implementation may include reset or downtime as
 needed to perform the actions.
 
Signature · 1 line
2.35.3
#3 lore raw

PATCH RESEND 3/3 doc: fix 'infact' --> 'in fact' typo

In reply to Andrea Claudi
---
 doc/actions/actions-general | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/actions/actions-general +1 -1
index 407a514c..a0074a58 100644
@@ -72,7 +72,7 @@ action police mtu 4000 rate 1500kbit burst 90k
 2)In order to take advantage of some of the targets written by the
 iptables people, a classifier can have a packet being massaged by an
 iptable target. I have only tested with mangler targets up to now.
-(infact anything that is not in the mangling table is disabled right now)
+(in fact anything that is not in the mangling table is disabled right now)
 
 In terms of hooks:
 *ingress is mapped to pre-routing hook
Signature · 1 line
2.35.3