Documentation: livepatch: Point klp_callbacks kernel-doc at livepatch_external.h
Subsystems (2)
PATCH 1/1 Documentation: livepatch: Point klp_callbacks kernel-doc at livepatch_external.h
api.rst asks include/linux/livepatch.h for struct klp_callbacks. Commit dd590d4d57eb ("objtool/klp: Introduce klp diff subcommand for diffing object files") moved the structure and its kernel-doc comment to include/linux/livepatch_external.h. Since then the Object Types section renders the other four structures but not klp_callbacks.
Add a directive for the new header.
--- Documentation/livepatch/api.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/livepatch/api.rst +4 -1
@@ -27,4 +27,7 @@ Object Types ============ .. kernel-doc:: include/linux/livepatch.h - :identifiers: klp_patch klp_object klp_func klp_callbacks klp_state + :identifiers: klp_patch klp_object klp_func klp_state + +.. kernel-doc:: include/linux/livepatch_external.h + :identifiers: klp_callbacks
Signature · 1 line
2.53.0
Quoted 11 lines · Karl Mehltretter
api.rstasksinclude/linux/livepatch.hfor structklp_callbacks. Commitdd590d4d57eb("objtool/klp: Introduce klp diff subcommand for diffing object files") moved the structure and its kernel-doc comment toinclude/linux/livepatch_external.h. Since then the Object Types section renders the other four structures but notklp_callbacks.Add a directive for the new header.
Fixes dd590d4d57eb ("objtool/klp: Introduce klp diff subcommand for diffing object files")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Thanks.
Quoted 17 lines
--- Documentation/livepatch/api.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)Documentation/livepatch/api.rst +4
-1@@ -27,4 +27,7 @@ Object Types ============ .. kernel-doc:: include/linux/livepatch.h - :identifiers: klp_patch klp_object klp_func klp_callbacks klp_state + :identifiers: klp_patch klp_object klp_func klp_state + +.. kernel-doc:: include/linux/livepatch_external.h + :identifiers: klp_callbacks
Signature · 1 line
~Randy
Quoted 20 lines · Karl Mehltretter
api.rstasksinclude/linux/livepatch.hfor structklp_callbacks. Commitdd590d4d57eb("objtool/klp: Introduce klp diff subcommand for diffing object files") moved the structure and its kernel-doc comment toinclude/linux/livepatch_external.h. Since then the Object Types section renders the other four structures but notklp_callbacks.Add a directive for the new header.
Fixes dd590d4d57eb ("objtool/klp: Introduce klp diff subcommand for diffing object files")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>--- Documentation/livepatch/api.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)Documentation/livepatch/api.rst +0
-0
Documentation/livepatch/api.rst Object Types · line 33
Quoted 8 lines
Documentation/livepatch/api.rst +4
-1@@ -27,4 +27,7 @@ Object Types ============ .. kernel-doc:: include/linux/livepatch.h - :identifiers: klp_patch klp_object klp_func klp_callbacks klp_state + :identifiers: klp_patch klp_object klp_func klp_state + +.. kernel-doc:: include/linux/livepatch_external.h + :identifiers: klp_callbacks
Applied, thanks.
jon