lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202506270024.FPuaCoE9-lkp@intel.com>
Date: Fri, 27 Jun 2025 00:31:29 +0800
From: kernel test robot <lkp@...el.com>
To: Bo Liu <liubo03@...pur.com>, phillip@...ashfs.org.uk
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Bo Liu <liubo03@...pur.com>
Subject: Re: [PATCH] Squashfs: add page cache share support

Hi Bo,

kernel test robot noticed the following build warnings:

[auto build test WARNING on v6.16-rc3]
[also build test WARNING on linus/master next-20250626]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Bo-Liu/Squashfs-add-page-cache-share-support/20250626-084010
base:   v6.16-rc3
patch link:    https://lore.kernel.org/r/20250626003644.3675-1-liubo03%40inspur.com
patch subject: [PATCH] Squashfs: add page cache share support
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20250627/202506270024.FPuaCoE9-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250627/202506270024.FPuaCoE9-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506270024.FPuaCoE9-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from fs/squashfs/pagecache_share.c:18:
>> fs/squashfs/squashfs.h:25:40: warning: 'struct squashfs_page_actor' declared inside parameter list will not be visible outside of this definition or declaration
      25 |                                 struct squashfs_page_actor *);
         |                                        ^~~~~~~~~~~~~~~~~~~
>> fs/squashfs/squashfs.h:49:33: warning: 'struct squashfs_sb_info' declared inside parameter list will not be visible outside of this definition or declaration
      49 |         void * (*create)(struct squashfs_sb_info *msblk, void *comp_opts);
         |                                 ^~~~~~~~~~~~~~~~
   fs/squashfs/squashfs.h:50:32: warning: 'struct squashfs_sb_info' declared inside parameter list will not be visible outside of this definition or declaration
      50 |         void (*destroy)(struct squashfs_sb_info *msblk);
         |                                ^~~~~~~~~~~~~~~~
   fs/squashfs/squashfs.h:52:58: warning: 'struct squashfs_page_actor' declared inside parameter list will not be visible outside of this definition or declaration
      52 |                           int offset, int length, struct squashfs_page_actor *output);
         |                                                          ^~~~~~~~~~~~~~~~~~~
   fs/squashfs/squashfs.h:51:34: warning: 'struct squashfs_sb_info' declared inside parameter list will not be visible outside of this definition or declaration
      51 |         int (*decompress)(struct squashfs_sb_info *msblk, struct bio *bio,
         |                                  ^~~~~~~~~~~~~~~~


vim +25 fs/squashfs/squashfs.h

f5cc08737507f2 Phillip Lougher 2024-12-29  22  
ffae2cd73a9e82 Phillip Lougher 2009-01-05  23  /* block.c */
846b730e99518a Phillip Lougher 2013-11-18  24  extern int squashfs_read_data(struct super_block *, u64, int, u64 *,
846b730e99518a Phillip Lougher 2013-11-18 @25  				struct squashfs_page_actor *);
ffae2cd73a9e82 Phillip Lougher 2009-01-05  26  
ffae2cd73a9e82 Phillip Lougher 2009-01-05  27  /* cache.c */
ffae2cd73a9e82 Phillip Lougher 2009-01-05  28  extern struct squashfs_cache *squashfs_cache_init(char *, int, int);
ffae2cd73a9e82 Phillip Lougher 2009-01-05  29  extern void squashfs_cache_delete(struct squashfs_cache *);
ffae2cd73a9e82 Phillip Lougher 2009-01-05  30  extern struct squashfs_cache_entry *squashfs_cache_get(struct super_block *,
ffae2cd73a9e82 Phillip Lougher 2009-01-05  31  				struct squashfs_cache *, u64, int);
ffae2cd73a9e82 Phillip Lougher 2009-01-05  32  extern void squashfs_cache_put(struct squashfs_cache_entry *);
ffae2cd73a9e82 Phillip Lougher 2009-01-05  33  extern int squashfs_copy_data(void *, struct squashfs_cache_entry *, int, int);
ffae2cd73a9e82 Phillip Lougher 2009-01-05  34  extern int squashfs_read_metadata(struct super_block *, void *, u64 *,
ffae2cd73a9e82 Phillip Lougher 2009-01-05  35  				int *, int);
ffae2cd73a9e82 Phillip Lougher 2009-01-05  36  extern struct squashfs_cache_entry *squashfs_get_fragment(struct super_block *,
ffae2cd73a9e82 Phillip Lougher 2009-01-05  37  				u64, int);
ffae2cd73a9e82 Phillip Lougher 2009-01-05  38  extern struct squashfs_cache_entry *squashfs_get_datablock(struct super_block *,
ffae2cd73a9e82 Phillip Lougher 2009-01-05  39  				u64, int);
82de647e1f81fd Phillip Lougher 2011-05-20  40  extern void *squashfs_read_table(struct super_block *, u64, int);
ffae2cd73a9e82 Phillip Lougher 2009-01-05  41  
4c0f0bb2351bee Phillip Lougher 2009-10-06  42  /* decompressor.c */
4c0f0bb2351bee Phillip Lougher 2009-10-06  43  extern const struct squashfs_decompressor *squashfs_lookup_decompressor(int);
9508c6b90b3f57 Phillip Lougher 2013-11-13  44  extern void *squashfs_decompressor_setup(struct super_block *, unsigned short);
9508c6b90b3f57 Phillip Lougher 2013-11-13  45  
9508c6b90b3f57 Phillip Lougher 2013-11-13  46  /* decompressor_xxx.c */
80f784098ff44e Xiaoming Ni     2022-10-19  47  
80f784098ff44e Xiaoming Ni     2022-10-19  48  struct squashfs_decompressor_thread_ops {
80f784098ff44e Xiaoming Ni     2022-10-19 @49  	void * (*create)(struct squashfs_sb_info *msblk, void *comp_opts);
80f784098ff44e Xiaoming Ni     2022-10-19  50  	void (*destroy)(struct squashfs_sb_info *msblk);
80f784098ff44e Xiaoming Ni     2022-10-19  51  	int (*decompress)(struct squashfs_sb_info *msblk, struct bio *bio,
80f784098ff44e Xiaoming Ni     2022-10-19  52  			  int offset, int length, struct squashfs_page_actor *output);
80f784098ff44e Xiaoming Ni     2022-10-19  53  	int (*max_decompressors)(void);
80f784098ff44e Xiaoming Ni     2022-10-19  54  };
80f784098ff44e Xiaoming Ni     2022-10-19  55  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ