Skip to content

Generate documentation for error pointer functions

James Seo linux-doc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Documentation: conf.py: Add __force to c_id_attributesDocumentation/conf.py+1 -00 replies
2/3err.h: Add missing kerneldocs for error pointer functionsinclude/linux/err.h+48 -00 replies
3/3Documentation: core-api: Add error pointer functions to kernel-apiDocumentation/core-api/kernel-api.rst+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Generate documentation for error pointer functions

The error pointer functions are collectively mentioned hundreds of times in existing documentation (e.g. "Return: an ERR_PTR() on failure.", "If IS_ERR() is true, the function failed and PTR_ERR() gives you the error code.")

This series adds kerneldocs for them and brings them into the docs build, immediately turning most such mentions into automatic cross-references.

James Seo (3):
Documentation: conf.py: Add __force to c_id_attributes err.h: Add missing kerneldocs for error pointer functions
Documentation: core-api: Add error pointer functions to kernel-api

 Documentation/conf.py                 |  1 +
 Documentation/core-api/kernel-api.rst |  6 ++++
 include/linux/err.h                   | 48 +++++++++++++++++++++++++++
 3 files changed, 55 insertions(+)
Signature · 1 line
2.34.1