linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: block: fix stat.rst document error
@ 2021-06-01  8:51 Gao Mingfei
  2021-06-04 17:26 ` Jonathan Corbet
  0 siblings, 1 reply; 3+ messages in thread
From: Gao Mingfei @ 2021-06-01  8:51 UTC (permalink / raw)
  To: corbet; +Cc: linux-doc, linux-kernel, trivial, Gao Mingfei

There are 17 decimal vaules, not 11.

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

Signed-off-by: Gao Mingfei <g199209@gmail.com>
---
 Documentation/block/stat.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/block/stat.rst b/Documentation/block/stat.rst
index 77311335c08b..a1cd9db2058f 100644
--- a/Documentation/block/stat.rst
+++ b/Documentation/block/stat.rst
@@ -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.
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: block: fix stat.rst document error
  2021-06-01  8:51 [PATCH] docs: block: fix stat.rst document error Gao Mingfei
@ 2021-06-04 17:26 ` Jonathan Corbet
  2021-06-07  1:56   ` 高明飞
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Corbet @ 2021-06-04 17:26 UTC (permalink / raw)
  To: Gao Mingfei; +Cc: linux-doc, linux-kernel, trivial, Gao Mingfei

Gao Mingfei <g199209@gmail.com> writes:

> There are 17 decimal vaules, not 11.
>
> Previous committers forgot to change this number when adding
> new fields.
>
> Signed-off-by: Gao Mingfei <g199209@gmail.com>
> ---
>  Documentation/block/stat.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/block/stat.rst b/Documentation/block/stat.rst
> index 77311335c08b..a1cd9db2058f 100644
> --- a/Documentation/block/stat.rst
> +++ b/Documentation/block/stat.rst
> @@ -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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: block: fix stat.rst document error
  2021-06-04 17:26 ` Jonathan Corbet
@ 2021-06-07  1:56   ` 高明飞
  0 siblings, 0 replies; 3+ messages in thread
From: 高明飞 @ 2021-06-07  1:56 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: linux-doc, linux-kernel, trivial

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

Regards,
Gao Mingfei

Jonathan Corbet <corbet@lwn.net> 于2021年6月5日周六 上午1:26写道:
>
> Gao Mingfei <g199209@gmail.com> writes:
>
> > There are 17 decimal vaules, not 11.
> >
> > Previous committers forgot to change this number when adding
> > new fields.
> >
> > Signed-off-by: Gao Mingfei <g199209@gmail.com>
> > ---
> >  Documentation/block/stat.rst | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Documentation/block/stat.rst b/Documentation/block/stat.rst
> > index 77311335c08b..a1cd9db2058f 100644
> > --- a/Documentation/block/stat.rst
> > +++ b/Documentation/block/stat.rst
> > @@ -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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-07  1:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01  8:51 [PATCH] docs: block: fix stat.rst document error Gao Mingfei
2021-06-04 17:26 ` Jonathan Corbet
2021-06-07  1:56   ` 高明飞

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).