Skip to contentSkip to conversation

docs: parse-headers.rst: Fix a typo

PATCH Applied Ankit Khushwaha 3 participants 3 messages Nov 15, 2025 – Nov 18, 2025 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: parse-headers.rst: Fix a typo

Replace "vantage" with "advantage" in the description of userspace API cross-references.

---
 Documentation/doc-guide/parse-headers.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/doc-guide/parse-headers.rst +1 -1
index bd34a6d00ca9..a7bb01ff04eb 100644
@@ -5,7 +5,7 @@ Including uAPI header files
 Sometimes, it is useful to include header files and C example codes in
 order to describe the userspace API and to generate cross-references
 between the code and the documentation. Adding cross-references for
-userspace API files has an additional vantage: Sphinx will generate warnings
+userspace API files has an additional advantage: Sphinx will generate warnings
 if a symbol is not found at the documentation. That helps to keep the
 uAPI documentation in sync with the Kernel changes.
 The :ref:`parse_headers.py <parse_headers>` provides a way to generate such

--
2.51.1

reviewer
#1 lore raw
Quoted 13 lines · Ankit Khushwaha

Replace "vantage" with "advantage" in the description of userspace API cross-references.

---
 Documentation/doc-guide/parse-headers.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/doc-guide/parse-headers.rst +0 -0
index bd34a6d00ca9..a7bb01ff04eb 100644

Documentation/doc-guide/parse-headers.rst Including uAPI header files · line 8

Quoted 5 lines
Documentation/doc-guide/parse-headers.rst +1 -1
@@ -5,7 +5,7 @@ Including uAPI header files
 Sometimes, it is useful to include header files and C example codes in
 order to describe the userspace API and to generate cross-references
 between the code and the documentation. Adding cross-references for
-userspace API files has an additional vantage: Sphinx will generate warnings
+userspace API files has an additional advantage: Sphinx will generate warnings

Yeah, I prefer "advantage," but the definition of "vantage" also fits here IMO.

Quoted 6 lines
Documentation/doc-guide/parse-headers.rst +0 -1
 if a symbol is not found at the documentation. That helps to keep the
 uAPI documentation in sync with the Kernel changes.
 The :ref:`parse_headers.py <parse_headers>` provides a way to generate such
--

2.51.1

Signature · 1 line
~Randy
maintainer Applied
#2 lore raw
In reply to Ankit Khushwaha
Quoted 13 lines · Ankit Khushwaha

Replace "vantage" with "advantage" in the description of userspace API cross-references.

---
 Documentation/doc-guide/parse-headers.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/doc-guide/parse-headers.rst +0 -0
index bd34a6d00ca9..a7bb01ff04eb 100644

Documentation/doc-guide/parse-headers.rst Including uAPI header files · line 9

Quoted 6 lines
Documentation/doc-guide/parse-headers.rst +1 -1
@@ -5,7 +5,7 @@ Including uAPI header files
 Sometimes, it is useful to include header files and C example codes in
 order to describe the userspace API and to generate cross-references
 between the code and the documentation. Adding cross-references for
-userspace API files has an additional vantage: Sphinx will generate warnings
+userspace API files has an additional advantage: Sphinx will generate warnings
 if a symbol is not found at the documentation. That helps to keep the

Applied, thanks.

jon