]> git.ipfire.org Git - thirdparty/linux.git/commit
docs: kernel-doc.rst: document private: scope propagation
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 17 Mar 2026 18:09:39 +0000 (19:09 +0100)
committerJonathan Corbet <corbet@lwn.net>
Sun, 22 Mar 2026 21:02:29 +0000 (15:02 -0600)
commit827b9458c9334733c598ff755bea84774ca97564
tree9b314741c80e557f753147eab736ffb687593782
parent024e200e2a89d71dceff7d1bff8ae77b145726e0
docs: kernel-doc.rst: document private: scope propagation

This was an undefined behavior, but at least one place used private:
inside a nested struct meant to not be propagated outside it.

Kernel-doc now defines how this is propagated. So, document that.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <bbe0ed698c21f3f930a561b885bc8a47824f7f1d.1773770483.git.mchehab+huawei@kernel.org>
Documentation/doc-guide/kernel-doc.rst