[PATCH v4 29/31] docs/zh_CN: fix rst format issue in submitting-patch

From: Alex Shi
Date: Mon Mar 11 2019 - 23:02:49 EST


Tame 'make htmldocs' to avoid indent and code section
error complains.

Signed-off-by: Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx>
Cc: Harry Wei <harryxiyou@xxxxxxxxx>
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: Li Yang <leoyang.li@xxxxxxx>
Cc: TripleX Chung <xxx.phy@xxxxxxxxx>
---
.../zh_CN/process/submitting-patches.rst | 24 +++++++++++--------
1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/Documentation/translations/zh_CN/process/submitting-patches.rst b/Documentation/translations/zh_CN/process/submitting-patches.rst
index 47cdca62cfa2..54fe00d0afc1 100644
--- a/Documentation/translations/zh_CN/process/submitting-patches.rst
+++ b/Documentation/translations/zh_CN/process/submitting-patches.rst
@@ -39,7 +39,7 @@ Documentation/process/submitting-drivers.rst ã
åæçæãèäïèäç '-p' åæïéæäæçæäæåæåçCåæïäå
äççèäåæèååãèäåèåäåææäçæçæçåïèäæéèçä
äåçåã
-äääåççæäååèäïäèæèèæåååäï
+äääåççæäååèäïäèæèèæåååä::

SRCTREE= linux-2.6
MYFILE= drivers/net/mydriver.c
@@ -51,7 +51,7 @@ Documentation/process/submitting-drivers.rst ã
diff -up $SRCTREE/$MYFILE{.orig,} > /tmp/patch

äåäæäååèäïäåäèåääææäæèçåææäçæïçååäè
-åçäçæäéå diff ãäåï
+åçäçæäéå diff ãäå::

MYSRC= /devel/linux-2.6

@@ -141,6 +141,7 @@ MAINTAINERS æäéçïåéääæåéïman-pagesïèäïæè
åäåçèäïääèäCCå Adrian Bunk çççæéççèäçéäåè
(Trivial Patch Monkey)trivial@xxxxxxxxxxïééäéæéçççèäãäéèæ
çèääèçäâçççâèäï
+
ææçæåäæã
äæäååå grep(1) çæåã
èåäæäæ(éççæåæççèåæäåçã)
@@ -239,10 +240,12 @@ Linus å linux-kernel éäåèç e-mail æééåéïääéåç
åèååéååçèääåää âsign-offâ çèçã

"sign-off" æåèäçæéçæåççåçäèæåïèèäçåäåæèåä
-äææåååääåææäççèääéãèååçåïåæäèèèåääæ

- ååèææèä 1.1
- åäæéççèçïæèèåääæï
+äææåååääåææäççèääéãèååçåïåæäèèèåääæ:
+
+ååèææèä 1.1
+^^^^^^^^^^^^^^^^^^
+åäæéççèçïæèèåääæï
+
ïaïèäèçæååæèéåççæååïæææåäæääæå
çåææäçèåèæäåïæè
ïbïèäèçåääåçåäïæææçïèääåçåäåæåçåæ
@@ -338,7 +341,7 @@ Nuff èèïåæäçäçåèäåçååïéäåæåèäè
ååæäéïææäååä "static inline" åæïæèåïåäçéçèää
èãèçèåæéä"çæä"äåæã

-ääçåçäåïäåçäçï
+ääçåçäåïäåçäç::

dev = alloc_etherdev (sizeof(struct funky_private));
if (!dev)
@@ -349,12 +352,14 @@ Nuff èèïåæäçäçåèäåçååïéäåæåèäè

æçåçäå:

-(åæäé)
+(åæäé)::
+
#ifndef CONFIG_NET_FUNKINESS
static inline void init_funky_net (struct net_device *d) {}
#endif

-(äçæäé)
+(äçæäé)::
+
dev = alloc_etherdev (sizeof(struct funky_private));
if (!dev)
return -ENODEV;
@@ -399,4 +404,3 @@ Kernel Documentation/process/coding-style.rst:

Linus Torvalds's mail on the canonical patch format:
<http://lkml.org/lkml/2005/4/7/183>
---
--
2.19.1.856.g8858448bb