]> git.ipfire.org Git - people/ms/linux.git/commit - fs/pstore/platform.c
pstore: Make pstore_choose_compression() static
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Wed, 16 Oct 2019 12:33:17 +0000 (13:33 +0100)
committerKees Cook <keescook@chromium.org>
Tue, 29 Oct 2019 16:43:03 +0000 (09:43 -0700)
commit8d82cee2f8aa8b9bc806907ecd9e1494c6e8526b
treee0bd515af30ac3bcc6c17ae58155a08feff4d148
parentda0c9ea146cbe92b832f1b0f694840ea8eb33cce
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>
fs/pstore/platform.c