projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b29482f
)
f2fs: avoid checkpatch error
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 16 Jun 2020 16:56:51 +0000
(09:56 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 18 Jun 2020 19:33:11 +0000
(12:33 -0700)
ERROR:INITIALISED_STATIC: do not initialise statics to NULL
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/compress.c
b/fs/f2fs/compress.c
index 1e02a8c106b0ac00b11291012a43c7ea4ca6f748..4dca9e45673485790cd07428e6d3d11721de2260 100644
(file)
--- a/
fs/f2fs/compress.c
+++ b/
fs/f2fs/compress.c
@@
-506,7
+506,7
@@
bool f2fs_is_compress_backend_ready(struct inode *inode)
return f2fs_cops[F2FS_I(inode)->i_compress_algorithm];
}
-static mempool_t *compress_page_pool
= NULL
;
+static mempool_t *compress_page_pool;
static int num_compress_pages = 512;
module_param(num_compress_pages, uint, 0444);
MODULE_PARM_DESC(num_compress_pages,