Re: [PATCH] docs: block: fix stat.rst document error

From: 高明飞
Date: Sun Jun 06 2021 - 21:56:53 EST


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@xxxxxxx> 于2021年6月5日周六 上午1:26写道:
>
> Gao Mingfei <g199209@xxxxxxxxx> 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@xxxxxxxxx>
> > ---
> > 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