]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, core: Fix kernel-doc notation
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 9 Aug 2021 21:52:29 +0000 (14:52 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 10 Aug 2021 11:09:28 +0000 (13:09 +0200)
commitf6d1da48fb64210a88000eb3e3050e5145cb0af3
treed44bdf1fae793feb2d33a808bbe402f5c6bc84de
parenta51ed3e9d7481b0f702957b713b8446c7a4b254f
bpf, core: Fix kernel-doc notation

Fix kernel-doc warnings in kernel/bpf/core.c (found by scripts/kernel-doc
and W=1 builds). That is, correct a function name in a comment and add
return descriptions for 2 functions.

Fixes these kernel-doc warnings:

  kernel/bpf/core.c:1372: warning: expecting prototype for __bpf_prog_run(). Prototype was for ___bpf_prog_run() instead
  kernel/bpf/core.c:1372: warning: No description found for return value of '___bpf_prog_run'
  kernel/bpf/core.c:1883: warning: No description found for return value of 'bpf_prog_select_runtime'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210809215229.7556-1-rdunlap@infradead.org
kernel/bpf/core.c