All of lore.kernel.org
 help / color / mirror / Atom feed
* [chao-linux:compression 5/7] fs/f2fs/data.c:146:6: sparse: sparse: symbol 'f2fs_verify_pages' was not declared. Should it be static?
@ 2019-11-13 23:32 kbuild test robot
  2019-11-13 23:32 ` [RFC PATCH chao-linux] f2fs: f2fs_verify_pages() can be static kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-11-13 23:32 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git compression
head:   29b42899aa6d7c6030740e9e35965daeccc2b7af
commit: 648010e4d5072afee8916d6dac8da1006156ece6 [5/7] f2fs: support data compression
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-31-gfd3528a-dirty
        git checkout 648010e4d5072afee8916d6dac8da1006156ece6
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> fs/f2fs/data.c:146:6: sparse: sparse: symbol 'f2fs_verify_pages' was not declared. Should it be static?
   arch/x86/include/asm/bitops.h:77:37: sparse: sparse: cast truncates bits from constant value (ffffff7f becomes 7f)
--
>> fs/f2fs/compress.c:1115:1: sparse: sparse: no newline at end of file

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RFC PATCH chao-linux] f2fs: f2fs_verify_pages() can be static
  2019-11-13 23:32 [chao-linux:compression 5/7] fs/f2fs/data.c:146:6: sparse: sparse: symbol 'f2fs_verify_pages' was not declared. Should it be static? kbuild test robot
@ 2019-11-13 23:32 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-11-13 23:32 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]


Fixes: 648010e4d507 ("f2fs: support data compression")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 data.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 2d64c6ffee849..37c20a7e4640d 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -143,7 +143,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);
 }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-13 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13 23:32 [chao-linux:compression 5/7] fs/f2fs/data.c:146:6: sparse: sparse: symbol 'f2fs_verify_pages' was not declared. Should it be static? kbuild test robot
2019-11-13 23:32 ` [RFC PATCH chao-linux] f2fs: f2fs_verify_pages() can be static kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.