Commit 8d82cee2 authored by Ben Dooks (Codethink)'s avatar Ben Dooks (Codethink) Committed by Kees Cook

pstore: Make pstore_choose_compression() static

The pstore_choose_compression() function is not exported so make it
static to avoid the following sparse warning:

fs/pstore/platform.c:796:13: warning: symbol 'pstore_choose_compression' was not declared. Should it be static?
Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Link: https://lore.kernel.org/r/20191016123317.3154-1-ben.dooks@codethink.co.uk
Fixes: cb095afd ("pstore: Centralize init/exit routines")
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent da0c9ea1
......@@ -793,7 +793,7 @@ static void pstore_timefunc(struct timer_list *unused)
jiffies + msecs_to_jiffies(pstore_update_ms));
}
void __init pstore_choose_compression(void)
static void __init pstore_choose_compression(void)
{
const struct pstore_zbackend *step;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment