Skip to contentSkip to conversation

iproute2-next/man/man*: Fix unequal number of .RS and .RE macros

PATCH In review Bjarni Ingi Gislason 2 participants 2 messages Dec 2, 2019 – Dec 4, 2019

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

PATCH 1/1 iproute2-next/man/man*: Fix unequal number of .RS and .RE macros

Add missing or excessive ".RE" macros.

Remove an excessive ".EE" macro.

---
 man/man7/tc-hfsc.7          | 1 +
 man/man8/devlink-dev.8      | 1 +
 man/man8/devlink-port.8     | 1 +
 man/man8/devlink-region.8   | 1 +
 man/man8/devlink-resource.8 | 1 +
 man/man8/devlink-sb.8       | 1 +
 man/man8/devlink-trap.8     | 1 +
 man/man8/ip-neighbour.8     | 1 +
 man/man8/ip-nexthop.8       | 2 --
 man/man8/ip.8               | 1 -
 man/man8/rdma-statistic.8   | 1 +
 man/man8/tc-ctinfo.8        | 1 +
 man/man8/tc-police.8        | 1 +
 man/man8/tc-sample.8        | 3 ---
 man/man8/tc-simple.8        | 1 -
 man/man8/tc-skbmod.8        | 1 +
 man/man8/tc-u32.8           | 1 +
 man/man8/tc.8               | 1 +
 18 files changed, 14 insertions(+), 7 deletions(-)
man/man7/tc-hfsc.7 +1 -0
index 5ae5e6b3..412b4c3b 100644
@@ -56,6 +56,7 @@ RT \- realtime
 LS \- linkshare
 UL \- upperlimit
 SC \- service curve
+.RE
 .fi
 .
 .SH "BASICS OF HFSC"
man/man8/devlink-dev.8 +1 -0
index 2c6acbd3..289935db 100644
@@ -262,6 +262,7 @@ Preparing to flash
 Flashing 100%
 .br
 Flashing done
+.RE
 
 .SH SEE ALSO
 .BR devlink (8),
man/man8/devlink-port.8 +1 -0
index a639d01f..188bffb7 100644
@@ -116,6 +116,7 @@ Split the specified devlink port into four ports.
 devlink port unsplit pci/0000:01:00.0/1
 .RS 4
 Unplit the specified previously split devlink port.
+.RE
 
 .SH SEE ALSO
 .BR devlink (8),
man/man8/devlink-region.8 +1 -0
index ff10cdbd..c6756566 100644
@@ -119,6 +119,7 @@ Dump the snapshot taken from cr-space address region with ID 1
 devlink region read pci/0000:00:05.0/cr-space snapshot 1 address 0x10 legth 16
 .RS 4
 Read from address 0x10, 16 Bytes of snapshot ID 1 taken from cr-space address region
+.RE
 
 .SH SEE ALSO
 .BR devlink (8),
man/man8/devlink-resource.8 +1 -0
index b8f78806..8c315807 100644
@@ -66,6 +66,7 @@ Shows the resources of the specified devlink device.
 devlink resource set pci/0000:01:00.0 /kvd/linear 98304
 .RS 4
 Sets the size of the specified resource for the specified devlink device.
+.RE
 
 .SH SEE ALSO
 .BR devlink (8),
man/man8/devlink-sb.8 +1 -0
index 91b68189..5a5a9bb9 100644
@@ -310,6 +310,7 @@ Show occupancy for specified port from the snapshot.
 sudo devlink sb occupancy clearmax pci/0000:03:00.0
 .RS 4
 Clear watermarks for shared buffer of specified devlink device.
+.RE
 
 
 .SH SEE ALSO
man/man8/devlink-trap.8 +1 -0
index 4f079eb8..db19fe4c 100644
@@ -127,6 +127,7 @@ Show attributes and statistics of a specific packet trap group.
 devlink trap set pci/0000:01:00.0 trap source_mac_is_multicast action trap
 .RS 4
 Set the action of a specific packet trap to 'trap'.
+.RE
 
 .SH SEE ALSO
 .BR devlink (8),
man/man8/ip-neighbour.8 +1 -0
index bc77b439..f71f18b1 100644
@@ -253,6 +253,7 @@ the prefix selecting the neighbour to query.
 .TP
 .BI dev " NAME"
 get neighbour entry attached to this device.
+.RE
 
 .SH EXAMPLES
 .PP
man/man8/ip-nexthop.8 +0 -2
index da87ca3b..68164f3c 100644
@@ -130,7 +130,6 @@ create a blackhole nexthop
 .TP
 ip nexthop delete id ID
 delete nexthop with given id.
-.RE
 
 .TP
 ip nexthop show
@@ -154,7 +153,6 @@ show only nexthop groups
 ip nexthop flush
 flushes nexthops selected by some criteria. Criteria options are the same
 as show.
-.RE
 
 .TP
 ip nexthop get id ID
man/man8/ip.8 +0 -1
index e2bda2a2..1661aa67 100644
@@ -382,7 +382,6 @@ Bring up interface x.
 .RE
 .PP
 ip link set x down
-.RE
 .RS 4
 Bring down interface x.
 .RE
man/man8/rdma-statistic.8 +1 -0
index 541b5d63..e3f4b51b 100644
@@ -162,6 +162,7 @@ List all currently allocated MR's and their counters.
 rdma statistic show mr mrn 6
 .RS 4
 Dump a specific MR statistics with mrn 6. Dumps nothing if does not exists.
+.RE
 
 .SH SEE ALSO
 .BR rdma (8),
man/man8/tc-ctinfo.8 +1 -0
index 9015b844..5b761a8f 100644
@@ -161,6 +161,7 @@ tc -s filter show dev eth0
     Sent 32890260 bytes 120441 pkt (dropped 0, overlimits 0 requeues 0)
     backlog 0b 0p requeues 0
 .br
+.RE
 .SH SEE ALSO
 .BR tc (8),
 .BR tc-cake (8)
man/man8/tc-police.8 +1 -0
index bcc5f438..52279755 100644
@@ -116,6 +116,7 @@ continue with the next filter in line (if any). This is the default for
 exceeding packets.
 .IP pipe
 Pass the packet to the next action in line.
+.RE
 .SH EXAMPLES
 A typical application of the police action is to enforce ingress traffic rate
 by dropping exceeding packets. Although better done on the sender's side,
man/man8/tc-sample.8 +0 -3
index 3e03eba2..c4277caf 100644
@@ -67,7 +67,6 @@ group
 .TP
 .BI PSAMPLE_ATTR_SAMPLE_RATE
 The rate the packet was sampled with
-.RE
 
 .SH OPTIONS
 .TP
@@ -117,8 +116,6 @@ tc filter add dev eth1 parent ffff: matchall \\
 .EE
 .RE
 
-.EE
-.RE
 .SH SEE ALSO
 .BR tc (8),
 .BR tc-matchall (8)
man/man8/tc-simple.8 +0 -1
index 7363ab56..f565755e 100644
@@ -54,7 +54,6 @@ grep the logs to see the logged message
 .IP 6) 4
 display stats again and observe increment by 1
 
-.RE
 .EX
   hadi@noma1:$ tc qdisc add dev eth0 ingress
   hadi@noma1:$tc filter add dev eth0 parent ffff: protocol ip prio 5 \\
man/man8/tc-skbmod.8 +1 -0
index 46418b65..eb3c38fa 100644
@@ -75,6 +75,7 @@ Continue classification with the next filter in line.
 .B pass
 Finish classification process and return to calling qdisc for further packet
 processing. This is the default.
+.RE
 .SH EXAMPLES
 To start, observe the following filter with a pedit action:
 
man/man8/tc-u32.8 +1 -0
index 2bf2e3e9..a23a1846 100644
@@ -490,6 +490,7 @@ Match on source or destination ethernet address. This is dangerous: It assumes
 an ethernet header is present at the start of the packet. This will probably
 lead to unexpected things if used with layer three interfaces like e.g. tun or
 ppp.
+.RE
 .SH EXAMPLES
 .RS
 .EX
man/man8/tc.8 +1 -0
index b81a396f..d25aadda 100644
@@ -828,6 +828,7 @@ Shows classes as ASCII graph on eth0 interface.
 tc -g -s class show dev eth0
 .RS 4
 Shows classes as ASCII graph with stats info under each class.
+.RE
 
 .SH HISTORY
 .B tc
Signature · 1 line
2.24.0