[PATCH 31/35] powerpc: docs: cxl.rst: mark two section titles as such
Mauro Carvalho Chehab
mchehab+huawei at kernel.org
Thu Apr 9 15:53:16 AEST 2020
Em Thu, 9 Apr 2020 10:37:52 +1000
Andrew Donnellan <ajd at linux.ibm.com> escreveu:
> On 9/4/20 1:46 am, Mauro Carvalho Chehab wrote:
> > The User API chapter contains two sub-chapters. Mark them as
> > such.
> >
> > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei at kernel.org>
>
> Thanks.
>
> Though the other subsections in this file use ----- rather than ^^^^^,
> what's the difference?
ReST syntax allows the usage of several different markup symbols for
titles. It dynamically attributes the first one it finds as level 1,
the second one as level 2 and so on.
As we added the "^^^^" markup before "-----", after this patch, it now has:
=======
level 1
=======
level 2
=======
level 3
^^^^^^^
level 4
-------
>
> Acked-by: Andrew Donnellan <ajd at linux.ibm.com>
>
> > ---
> > Documentation/powerpc/cxl.rst | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/Documentation/powerpc/cxl.rst b/Documentation/powerpc/cxl.rst
> > index 920546d81326..d2d77057610e 100644
> > --- a/Documentation/powerpc/cxl.rst
> > +++ b/Documentation/powerpc/cxl.rst
> > @@ -133,6 +133,7 @@ User API
> > ========
> >
> > 1. AFU character devices
> > +^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > For AFUs operating in AFU directed mode, two character device
> > files will be created. /dev/cxl/afu0.0m will correspond to a
> > @@ -395,6 +396,7 @@ read
> >
> >
> > 2. Card character device (powerVM guest only)
> > +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > In a powerVM guest, an extra character device is created for the
> > card. The device is only used to write (flash) a new image on the
> >
>
Thanks,
Mauro
More information about the Linuxppc-dev
mailing list