OSDN Git Service

net/smc: fix document build WARNING from smc-sysctl.rst
authorDust Li <dust.li@linux.alibaba.com>
Thu, 3 Mar 2022 11:35:27 +0000 (19:35 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Mar 2022 05:24:34 +0000 (21:24 -0800)
Stephen reported the following warning messages from smc-sysctl.rst

Documentation/networking/smc-sysctl.rst:3: WARNING: Title overline
too short.
Documentation/networking/smc-sysctl.rst: WARNING: document isn't
included in any toctree

Fix the title overline and add smc-sysctl entry into
Documentation/networking/index.rst

Fixes: 12bbb0d163a9 ("net/smc: add sysctl for autocorking")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dust Li <dust.li@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220303113527.62047-1-dust.li@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/index.rst
Documentation/networking/smc-sysctl.rst

index 58bc8cd..ce01713 100644 (file)
@@ -96,6 +96,7 @@ Contents:
    sctp
    secid
    seg6-sysctl
+   smc-sysctl
    statistics
    strparser
    switchdev
index c53f8c6..0987fd1 100644 (file)
@@ -1,11 +1,11 @@
 .. SPDX-License-Identifier: GPL-2.0
 
-=========
+==========
 SMC Sysctl
-=========
+==========
 
 /proc/sys/net/smc/* Variables
-==============================
+=============================
 
 autocorking_size - INTEGER
        Setting SMC auto corking size: