mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:24:47 +01:00
erofs: make z_erofs_crypto[] static
Reduce the scope of 'z_erofs_crypto[]' that is not used outside of 'decompressor_crypto.c'. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202512102025.4mWeBSsf-lkp@intel.com/ Signed-off-by: Ferry Meng <mengferry@linux.alibaba.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
This commit is contained in:
parent
19bfef0178
commit
0cc7d0c926
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ struct z_erofs_crypto_engine {
|
|||
struct crypto_acomp *tfm;
|
||||
};
|
||||
|
||||
struct z_erofs_crypto_engine *z_erofs_crypto[Z_EROFS_COMPRESSION_MAX] = {
|
||||
static struct z_erofs_crypto_engine *z_erofs_crypto[Z_EROFS_COMPRESSION_MAX] = {
|
||||
[Z_EROFS_COMPRESSION_LZ4] = (struct z_erofs_crypto_engine[]) {
|
||||
{},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue