Skip to content

Commit 3f14d02

Browse files
bebarinotorvalds
authored andcommitted
buildid: fix kernel-doc notation
Kernel doc should use "Return:" instead of "Returns" to properly reflect the return values. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Jessica Yu <[email protected]> Cc: Evan Green <[email protected]> Cc: Hsin-Yi Wang <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Baoquan He <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Dave Young <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Konstantin Khlebnikov <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Petr Mladek <[email protected]> Cc: Rasmus Villemoes <[email protected]> Cc: Sasha Levin <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Vivek Goyal <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 60eec32 commit 3f14d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/buildid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static int get_build_id_64(const void *page_addr, unsigned char *build_id,
121121
* @build_id: buffer to store build id, at least BUILD_ID_SIZE long
122122
* @size: returns actual build id size in case of success
123123
*
124-
* Returns 0 on success, otherwise error (< 0).
124+
* Return: 0 on success, -EINVAL otherwise
125125
*/
126126
int build_id_parse(struct vm_area_struct *vma, unsigned char *build_id,
127127
__u32 *size)

0 commit comments

Comments
 (0)