diff options
author | Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> | 2019-10-16 14:33:17 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2019-10-29 17:43:03 +0100 |
commit | 8d82cee2f8aa8b9bc806907ecd9e1494c6e8526b (patch) | |
tree | e0bd515af30ac3bcc6c17ae58155a08feff4d148 /fs/pstore/platform.c | |
parent | Linux 5.4-rc2 (diff) | |
download | linux-8d82cee2f8aa8b9bc806907ecd9e1494c6e8526b.tar.xz linux-8d82cee2f8aa8b9bc806907ecd9e1494c6e8526b.zip |
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: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://lore.kernel.org/r/20191016123317.3154-1-ben.dooks@codethink.co.uk
Fixes: cb095afd4476 ("pstore: Centralize init/exit routines")
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/pstore/platform.c')
-rw-r--r-- | fs/pstore/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index 3d7024662d29..d896457e7c11 100644 --- a/fs/pstore/platform.c +++ b/fs/pstore/platform.c @@ -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; |