From 185f812c419f1b4f0d10d9787d59cf9f11a2a600 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Wed, 19 Jan 2022 18:05:50 +0100 Subject: doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt --- lib/of_live.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/of_live.c') diff --git a/lib/of_live.c b/lib/of_live.c index 05a45ed..2cb0dd9 100644 --- a/lib/of_live.c +++ b/lib/of_live.c @@ -257,7 +257,7 @@ static void *unflatten_dt_node(const void *blob, void *mem, int *poffset, * can be used. * @blob: The blob to expand * @mynodes: The device_node tree created by the call - * @return 0 if OK, -ve on error + * Return: 0 if OK, -ve on error */ static int unflatten_device_tree(const void *blob, struct device_node **mynodes) -- cgit v1.1