[PATCH 28/38] docs: networking: convert hinic.txt to ReST

From: Mauro Carvalho Chehab
Date: Mon Apr 27 2020 - 18:04:07 EST


Not much to be done here:

- add SPDX header;
- adjust titles and chapters, adding proper markups;
- adjust identation, whitespaces and blank lines;
- add to networking/index.rst.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
---
Documentation/networking/{hinic.txt => hinic.rst} | 5 ++++-
Documentation/networking/index.rst | 1 +
MAINTAINERS | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
rename Documentation/networking/{hinic.txt => hinic.rst} (97%)

diff --git a/Documentation/networking/hinic.txt b/Documentation/networking/hinic.rst
similarity index 97%
rename from Documentation/networking/hinic.txt
rename to Documentation/networking/hinic.rst
index 989366a4039c..867ac8f4e04a 100644
--- a/Documentation/networking/hinic.txt
+++ b/Documentation/networking/hinic.rst
@@ -1,3 +1,6 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+============================================================
Linux Kernel Driver for Huawei Intelligent NIC(HiNIC) family
============================================================

@@ -110,7 +113,7 @@ hinic_dev - de/constructs the Logical Tx and Rx Queues.
(hinic_main.c, hinic_dev.h)


-Miscellaneous:
+Miscellaneous
=============

Common functions that are used by HW and Logical Device.
diff --git a/Documentation/networking/index.rst b/Documentation/networking/index.rst
index b29a08d1f941..5a7889df1375 100644
--- a/Documentation/networking/index.rst
+++ b/Documentation/networking/index.rst
@@ -63,6 +63,7 @@ Contents:
generic_netlink
gen_stats
gtp
+ hinic

.. only:: subproject and html

diff --git a/MAINTAINERS b/MAINTAINERS
index a14a2d9bb968..3764697a6002 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7837,7 +7837,7 @@ HUAWEI ETHERNET DRIVER
M: Aviad Krawczyk <aviad.krawczyk@xxxxxxxxxx>
L: netdev@xxxxxxxxxxxxxxx
S: Supported
-F: Documentation/networking/hinic.txt
+F: Documentation/networking/hinic.rst
F: drivers/net/ethernet/huawei/hinic/

HUGETLB FILESYSTEM
--
2.25.4