Skip to contentSkip to conversation

Documentation: core-api: Drop :export: for int_log.h

PATCH Superseded Andy Shevchenko 2 participants 2 messages Jul 13, 2023

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: core-api: Drop :export: for int_log.h

The :export: keyword makes sense only for C-files, where EXPORT_SYMBOL() might appear. Otherwise kernel-doc may not produce anything out of this file.

Fixes f97fa3dcb2db ("lib/math: Move dvb_math.c into lib/math/int_log.c")
---
 Documentation/core-api/kernel-api.rst | 1 -
 1 file changed, 1 deletion(-)
Documentation/core-api/kernel-api.rst +0 -1
index a526fbe06f86..ae92a2571388 100644
@@ -166,7 +166,6 @@ Integer log and power Functions
 -------------------------------
 
 .. kernel-doc:: include/linux/int_log.h
-   :export:
 
 .. kernel-doc:: lib/math/int_pow.c
    :export:
Signature · 1 line
2.40.0.1.gaa8946217a0b
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Andy Shevchenko

The :export: keyword makes sense only for C-files, where EXPORT_SYMBOL() might appear. Otherwise kernel-doc may not produce anything out of this file.

Fixes f97fa3dcb2db ("lib/math: Move dvb_math.c into lib/math/int_log.c")

Thanks.

Quoted 16 lines
---
 Documentation/core-api/kernel-api.rst | 1 -
 1 file changed, 1 deletion(-)
Documentation/core-api/kernel-api.rst +0 -1
index a526fbe06f86..ae92a2571388 100644
@@ -166,7 +166,6 @@ Integer log and power Functions
 -------------------------------
 
 .. kernel-doc:: include/linux/int_log.h
-   :export:
 
 .. kernel-doc:: lib/math/int_pow.c
    :export:
Signature · 1 line
~Randy