The commit below causes the following warnings: Documentation/driver-api/index.rst:14: WARNING: toctree contains reference to nonexisting document 'driver-api/tty' Documentation/driver-api/tty/index.rst: WARNING: document isn't included in any toctree This is because I omitted the "/index" part from the link. That part is needed for directories and I was confused by the surrounding links which are links to files. Fix it in this patch. Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Cc: Jonathan Corbet <corbet@xxxxxxx> Fixes: b96cd8b05ead ("Documentation: move tty to driver-api") Signed-off-by: Jiri Slaby <jslaby@xxxxxxx> --- Documentation/driver-api/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst index bbbbcf20b7ce..d76a60d95b58 100644 --- a/Documentation/driver-api/index.rst +++ b/Documentation/driver-api/index.rst @@ -101,7 +101,7 @@ available subsections can be seen below. surface_aggregator/index switchtec sync_file - tty + tty/index vfio-mediated-device vfio vfio-pci-device-specific-driver-acceptance -- 2.35.3