]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcbb7be974877e7ec4509801d24e93fb42894d9f8
treee0bd515af30ac3bcc6c17ae58155a08feff4d148
parent52b7759f73b03afc7cba59d3686ec69261291235
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: aa60f34125bd ("pstore: Centralize init/exit routines")
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/platform.c