f2fs: Make f2fs_verify_pages static
PATCH 1/1 f2fs: Make f2fs_verify_pages static
Fix sparse warning:
fs/f2fs/data.c:187:6: warning:
symbol 'f2fs_verify_pages' was not declared. Should it be static?
--- fs/f2fs/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/f2fs/data.c +1 -1
@@ -184,7 +184,7 @@ static void f2fs_decompress_work(struct bio_post_read_ctx *ctx) }#ifdef CONFIG_F2FS_FS_COMPRESSION -void f2fs_verify_pages (struct page **rpages,unsigned int cluster_size) +static void f2fs_verify_pages (struct page **rpages,unsigned int cluster_size) {f2fs_decompress_end_io (rpages, cluster_size, false, true); }
Signature · 8 lines
2.17.2 _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
Hi Xiaoxu,
Quoted 4 lines · Zhang Xiaoxu
Fix sparse warning:
fs/f2fs/data.c:187:6: warning:
symbol 'f2fs_verify_pages' was not declared. Should it be static?
Thanks for your patch.
It will be better to merge this patch into original patch which is still on dev status, let us know if you have any other concern. :)
Thanks,
Quoted 13 lines
Reported-by Hulk Robot <[email protected]>Signed-off-by Zhang Xiaoxu <[email protected]>--- fs/f2fs/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/f2fs/data.c +0
-0
fs/f2fs/data.c static void f2fs_decompress_work(struct bio_post_read_ctx *ctx) · line 190
Quoted 8 lines
fs/f2fs/data.c +1
-1@@ -184,7 +184,7 @@ static void f2fs_decompress_work(struct bio_post_read_ctx *ctx) }#ifdef CONFIG_F2FS_FS_COMPRESSION -void f2fs_verify_pages (struct page **rpages,unsigned int cluster_size) +static void f2fs_verify_pages (struct page **rpages,unsigned int cluster_size) {f2fs_decompress_end_io (rpages, cluster_size, false, true); }
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
Jaegeuk Kim
maintainerHi,
I applied this in the original patch.
Thanks,
Quoted 26 lines · Zhang Xiaoxu
Fix sparse warning:
fs/f2fs/data.c:187:6: warning:
symbol 'f2fs_verify_pages' was not declared. Should it be static?Reported-by Hulk Robot <[email protected]>Signed-off-by Zhang Xiaoxu <[email protected]>--- fs/f2fs/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/f2fs/data.c +1
-1@@ -184,7 +184,7 @@ static void f2fs_decompress_work(struct bio_post_read_ctx *ctx) }#ifdef CONFIG_F2FS_FS_COMPRESSION -void f2fs_verify_pages (struct page **rpages,unsigned int cluster_size) +static void f2fs_verify_pages (struct page **rpages,unsigned int cluster_size) {f2fs_decompress_end_io (rpages, cluster_size, false, true); }Signature · 1 line
2.17.2
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel