kallsyms: Change func signature for cleanup_symbol_name()
authorYonghong Song <yonghong.song@linux.dev>
Fri, 25 Aug 2023 20:20:36 +0000 (13:20 -0700)
committerKees Cook <keescook@chromium.org>
Fri, 25 Aug 2023 22:00:36 +0000 (15:00 -0700)
commit76903a9648744c081547c91f31ec3917204b74e5
tree9c855c4c2f8c615aca9cdd71c6826a3c9802e08e
parent33f0467fe06934d5e4ea6e24ce2b9c65ce618e26
kallsyms: Change func signature for cleanup_symbol_name()

All users of cleanup_symbol_name() do not use the return value.
So let us change the return value of cleanup_symbol_name() to
'void' to reflect its usage pattern.

Suggested-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230825202036.441212-1-yonghong.song@linux.dev
Signed-off-by: Kees Cook <keescook@chromium.org>
kernel/kallsyms.c