All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android14-6.1 2/2] fs/squashfs/decompressor_multi_percpu.c:84:9: sparse: sparse: no generic selection for 'struct local_lock_t *'
@ 2026-05-06 16:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-06 16:46 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check first_new_problem: fs/squashfs/decompressor_multi_percpu.c:84:9: sparse: sparse: no generic selection for 'struct local_lock_t *'"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: cros-kernel-buildreports@googlegroups.com

tree:   https://android.googlesource.com/kernel/common android14-6.1
head:   bc1567eb8cdef6c0456563b30f1ce83dbaf3dacb
commit: 9183a054c2a4d512a704667591d974f1a88fe8b7 [2/2] UPSTREAM: locking/local_lock: fix _Generic() matching of local_trylock_t
:::::: branch date: 5 days ago
:::::: commit date: 4 months ago
config: x86_64-randconfig-r131-20260506 (https://download.01.org/0day-ci/archive/20260507/202605070046.L2QE4e4A-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260507/202605070046.L2QE4e4A-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@intel.com>
| Closes: https://lore.kernel.org/r/202605070046.L2QE4e4A-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   fs/squashfs/decompressor_multi_percpu.c:84:9: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected void const [noderef] __percpu *__vpp_verify @@     got struct local_lock_t * @@
   fs/squashfs/decompressor_multi_percpu.c:84:9: sparse:     expected void const [noderef] __percpu *__vpp_verify
   fs/squashfs/decompressor_multi_percpu.c:84:9: sparse:     got struct local_lock_t *
>> fs/squashfs/decompressor_multi_percpu.c:84:9: sparse: sparse: no generic selection for 'struct local_lock_t *'
   fs/squashfs/decompressor_multi_percpu.c:90:9: sparse: sparse: no generic selection for 'struct local_lock_t *'

vim +84 fs/squashfs/decompressor_multi_percpu.c

d208383d640727b Phillip Lougher  2013-11-18  77  
93e72b3c612adca Philippe Liard   2020-06-01  78  int squashfs_decompress(struct squashfs_sb_info *msblk, struct bio *bio,
93e72b3c612adca Philippe Liard   2020-06-01  79  	int offset, int length, struct squashfs_page_actor *output)
d208383d640727b Phillip Lougher  2013-11-18  80  {
fd56200a16c72c7 Julia Cartwright 2020-05-27  81  	struct squashfs_stream *stream;
fd56200a16c72c7 Julia Cartwright 2020-05-27  82  	int res;
fd56200a16c72c7 Julia Cartwright 2020-05-27  83  
fd56200a16c72c7 Julia Cartwright 2020-05-27 @84  	local_lock(&msblk->stream->lock);
fd56200a16c72c7 Julia Cartwright 2020-05-27  85  	stream = this_cpu_ptr(msblk->stream);
fd56200a16c72c7 Julia Cartwright 2020-05-27  86  
93e72b3c612adca Philippe Liard   2020-06-01  87  	res = msblk->decompressor->decompress(msblk, stream->stream, bio,
846b730e99518a1 Phillip Lougher  2013-11-18  88  					      offset, length, output);
fd56200a16c72c7 Julia Cartwright 2020-05-27  89  
fd56200a16c72c7 Julia Cartwright 2020-05-27  90  	local_unlock(&msblk->stream->lock);
d208383d640727b Phillip Lougher  2013-11-18  91  
d208383d640727b Phillip Lougher  2013-11-18  92  	if (res < 0)
d208383d640727b Phillip Lougher  2013-11-18  93  		ERROR("%s decompression failed, data probably corrupt\n",
d208383d640727b Phillip Lougher  2013-11-18  94  			msblk->decompressor->name);
d208383d640727b Phillip Lougher  2013-11-18  95  
d208383d640727b Phillip Lougher  2013-11-18  96  	return res;
d208383d640727b Phillip Lougher  2013-11-18  97  }
d208383d640727b Phillip Lougher  2013-11-18  98  

:::::: The code at line 84 was first introduced by commit
:::::: fd56200a16c72c7c3ec3e54e06160dfaa5b8dee8 squashfs: Make use of local lock in multi_cpu decompressor

:::::: TO: Julia Cartwright <julia@ni.com>
:::::: CC: Ingo Molnar <mingo@kernel.org>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-06 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 16:46 [android-common:android14-6.1 2/2] fs/squashfs/decompressor_multi_percpu.c:84:9: sparse: sparse: no generic selection for 'struct local_lock_t *' kernel 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.