Skip to content

Commit

Permalink
net/smc: fix document build WARNING from smc-sysctl.rst
Browse files Browse the repository at this point in the history
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: 12bbb0d ("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>
  • Loading branch information
Dust Li authored and Jakub Kicinski committed Mar 4, 2022
1 parent 2f5e65d commit f9f52c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Documentation/networking/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ Contents:
sctp
secid
seg6-sysctl
smc-sysctl
statistics
strparser
switchdev
Expand Down
6 changes: 3 additions & 3 deletions Documentation/networking/smc-sysctl.rst
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit f9f52c3

Please sign in to comment.