Skip to contentSkip to conversation

tc: comment spelling fixes

PATCH In review Stephen Hemminger 3 participants 3 messages Nov 21, 2011 – Nov 22, 2011

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

PATCH 1/1 tc: comment spelling fixes

include/linux/pkt_sched.h +3 -3
@@ -30,7 +30,7 @@
  */
 
 struct tc_stats {
-	__u64	bytes;			/* NUmber of enqueues bytes */
+	__u64	bytes;			/* Number of enqueues bytes */
 	__u32	packets;		/* Number of enqueued packets	*/
 	__u32	drops;			/* Packets dropped because of lack of resources */
 	__u32	overlimits;		/* Number of throttle events when this
@@ -297,7 +297,7 @@ struct tc_htb_glob {
 	__u32 debug;		/* debug flags */
 
 	/* stats */
-	__u32 direct_pkts; /* count of non shapped packets */
+	__u32 direct_pkts; /* count of non shaped packets */
 };
 enum {
 	TCA_HTB_UNSPEC,
@@ -503,7 +503,7 @@ enum {
 };
 #define NETEM_LOSS_MAX (__NETEM_LOSS_MAX - 1)
 
-/* State transition probablities for 4 state model */
+/* State transition probabilities for 4 state model */
 struct tc_netem_gimodel {
 	__u32	p13;
 	__u32	p31;
#1 lore raw

include/linux/pkt_sched.h line 33

Quoted 10 lines · Stephen Hemminger
include/linux/pkt_sched.h +1 -1
@@ -30,7 +30,7 @@
  */
 
 struct tc_stats {
-	__u64	bytes;			/* NUmber of enqueues bytes */
+	__u64	bytes;			/* Number of enqueues bytes */

[...]

Further fix needed: 'enqueued'.

Ben.

Signature · 3 lines
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
maintainer
#2 lore raw

From: Ben Hutchings <[email protected]>
Date: Mon, 21 Nov 2011 17:12:08 +0000

Quoted 8 lines · Stephen Hemminger
Quoted 7 lines
include/linux/pkt_sched.h +0 -0
@@ -30,7 +30,7 @@
  */
 
Quoted 6 lines

include/linux/pkt_sched.h line 33

Quoted 3 lines
include/linux/pkt_sched.h +1 -1
 struct tc_stats {
-	__u64	bytes;			/* NUmber of enqueues bytes */
+	__u64	bytes;			/* Number of enqueues bytes */

[...]

Further fix needed: 'enqueued'.

I took care of this when applying Stephen's patch.