Skip to contentSkip to conversation

docs: block: fix stat.rst document error

PATCH Applied Gao Mingfei 2 participants 3 messages Jun 1, 2021 – Jun 7, 2021

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

PATCH 1/1 docs: block: fix stat.rst document error

There are 17 decimal vaules, not 11.

Previous committers forgot to change this number when adding new fields.

---
 Documentation/block/stat.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/block/stat.rst +1 -1
index 77311335c08b..a1cd9db2058f 100644
@@ -18,7 +18,7 @@ A.
    each, it would be impossible to guarantee that a set of readings
    represent a single point in time.
 
-The stat file consists of a single line of text containing 11 decimal
+The stat file consists of a single line of text containing 17 decimal
 values separated by whitespace.  The fields are summarized in the
 following table, and described in more detail below.
 
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 15 lines · Gao Mingfei

There are 17 decimal vaules, not 11.

Previous committers forgot to change this number when adding new fields.

---
 Documentation/block/stat.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/block/stat.rst +0 -0
index 77311335c08b..a1cd9db2058f 100644

Documentation/block/stat.rst A. · line 23

Quoted 7 lines
Documentation/block/stat.rst +1 -1
@@ -18,7 +18,7 @@ A.
    each, it would be impossible to guarantee that a set of readings
    represent a single point in time.
 
-The stat file consists of a single line of text containing 11 decimal
+The stat file consists of a single line of text containing 17 decimal
 values separated by whitespace.  The fields are summarized in the
 following table, and described in more detail below.

I've applied this. I rewrote the changelog, though, to better fit kernel style:

Update the description of the device stat files to include the proper number of fields.

Thanks,

jon

author
#2 lore raw

Thanks! This is my first patch, I'll try to write the changelog in kernel style in the future.

Regards,
Gao Mingfei

Quoted 35 lines · Jonathan Corbet <[email protected]> 于2021年6月5日周六 上午1:26写道:
Quoted 15 lines · Gao Mingfei

There are 17 decimal vaules, not 11.

Previous committers forgot to change this number when adding new fields.

---
 Documentation/block/stat.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/block/stat.rst +0 -0
index 77311335c08b..a1cd9db2058f 100644

Documentation/block/stat.rst A. · line 23

Quoted 7 lines
Documentation/block/stat.rst +1 -1
@@ -18,7 +18,7 @@ A.
    each, it would be impossible to guarantee that a set of readings
    represent a single point in time.
 
-The stat file consists of a single line of text containing 11 decimal
+The stat file consists of a single line of text containing 17 decimal
 values separated by whitespace.  The fields are summarized in the
 following table, and described in more detail below.

I've applied this. I rewrote the changelog, though, to better fit kernel style:

Update the description of the device stat files to include the proper number of fields.

Thanks,

jon