From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3DD3B35B636 for ; Tue, 8 Sep 2026 04:37:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788842277; cv=none; b=FrsyQ/IPV7Ge5o8zBMoj1K1StGNqXa+089mMr9SfhnClU6lMGTxiNTK0uX1ncy4MmqN81zKo2GjCSfrHFcsobBXDxrwz9KeZuvt/TdhmxeiXDucFoXH9s60bpqjvgF791IOl3dxCCzSXWc/NFjBLsbS+mmZJm82FSLUjA0ONkM4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788842277; c=relaxed/simple; bh=GDa161aAG5luI95KnLUgrUA2iG8rWS1txhTiWPkoxts=; h=Date:From:To:Cc:Subject:Message-ID; b=fk18xRG3XIF30GBnCzkr2hXBADpIUmgKVk1+s+7EDXOGpeHkI1/7jLAGB8X4Y6IWMvVxc1fkLv40MiXbwoIHwd87PptqPWQRYRJKXDJGU49SeR6PYkZStAoCSSntFpRuYrm5cdpSWHGb1jEZYkhe7AvHCxIwVkxkNuL9JWMN6OE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=SMNh7TuY; arc=none smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SMNh7TuY" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1788842274; x=1820378274; h=date:from:to:cc:subject:message-id; bh=GDa161aAG5luI95KnLUgrUA2iG8rWS1txhTiWPkoxts=; b=SMNh7TuYIzgbNIFY3R86+iWlFjvCjNbpG9EuX+2fd3Yax9RF7zk5/hzu WePEzX6Tg2sf9eFTrchnfLFILf0VpyYSmPRqjwV4C1NbH1uyA/nJQB/4i gAPBUt0E/bFO4UEV7Nwv9HJRGFP9JX7Z6mgTMXh4KlOl5oONB9DY2OCuj DHuZACurQvhaqdqEDtkf5Km3JDsicE/QUDGFrs0VrXTnJ7wcaxqNQolrX TWXcq+g4wewmF5mq+iKx0/gs7YKiXfyN4hil72T5bXey1toHZE9StTSiq IbKGQgABdFATtFG60Yhi+buzdqjNishpz1Mlkfbt8aGKXfpL1kqgJnc27 w==; X-CSE-ConnectionGUID: GXcKhrSHSW2cH7gs3LZ4LQ== X-CSE-MsgGUID: AFMivz4/SUqeI4M1l1DI2Q== X-IronPort-AV: E=McAfee;i="6800,10657,11899"; a="99828584" X-IronPort-AV: E=Sophos;i="6.25,268,1779174000"; d="scan'208";a="99828584" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2026 21:37:54 -0700 X-CSE-ConnectionGUID: VMZCDNxuS0iHb8FXjO5yeg== X-CSE-MsgGUID: 3zzlYApyR0S8/y+MQNRZ7Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,268,1779174000"; d="scan'208";a="274658617" Received: from lkp-server01.sh.intel.com (HELO dff15f1b2031) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 07 Sep 2026 21:37:53 -0700 Received: from kbuild by dff15f1b2031 with local (Exim 4.98.2) (envelope-from ) id 1x3nag-000000001fh-3814; Tue, 08 Sep 2026 04:37:50 +0000 Date: Tue, 08 Sep 2026 12:36:57 +0800 From: kernel test robot To: Chao Yu Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Jaegeuk Kim Subject: fs/f2fs/checkpoint.c:784:57: sparse: sparse: incorrect type in argument 1 (different address spaces) Message-ID: <202609081243.Jo4beeqD-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 28924df2a08f440c73991b83028032c901de2ae4 commit: 9a9ee7408a1f8271bd1978baff2dd09457054ef4 f2fs: reduce memory footprint of ino management date: 3 weeks ago config: parisc-randconfig-r132-20260908 (https://download.01.org/0day-ci/archive/20260908/202609081243.Jo4beeqD-lkp@intel.com/config) compiler: hppa-linux-gcc (GCC) 10.5.0 sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260908/202609081243.Jo4beeqD-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 | Fixes: 9a9ee7408a1f ("f2fs: reduce memory footprint of ino management") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202609081243.Jo4beeqD-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) fs/f2fs/checkpoint.c:782:14: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void **slot @@ got void [noderef] __rcu ** @@ fs/f2fs/checkpoint.c:782:14: sparse: expected void **slot fs/f2fs/checkpoint.c:782:14: sparse: got void [noderef] __rcu ** >> fs/f2fs/checkpoint.c:784:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __rcu **slot @@ got void **slot @@ fs/f2fs/checkpoint.c:784:57: sparse: expected void [noderef] __rcu **slot fs/f2fs/checkpoint.c:784:57: sparse: got void **slot fs/f2fs/checkpoint.c:789:64: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __rcu **slot @@ got void **slot @@ fs/f2fs/checkpoint.c:789:64: sparse: expected void [noderef] __rcu **slot fs/f2fs/checkpoint.c:789:64: sparse: got void **slot fs/f2fs/checkpoint.c:810:14: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void **slot @@ got void [noderef] __rcu ** @@ fs/f2fs/checkpoint.c:810:14: sparse: expected void **slot fs/f2fs/checkpoint.c:810:14: sparse: got void [noderef] __rcu ** fs/f2fs/checkpoint.c:812:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __rcu **slot @@ got void **slot @@ fs/f2fs/checkpoint.c:812:57: sparse: expected void [noderef] __rcu **slot fs/f2fs/checkpoint.c:812:57: sparse: got void **slot fs/f2fs/checkpoint.c:819:64: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __rcu **slot @@ got void **slot @@ fs/f2fs/checkpoint.c:819:64: sparse: expected void [noderef] __rcu **slot fs/f2fs/checkpoint.c:819:64: sparse: got void **slot vim +784 fs/f2fs/checkpoint.c 768 769 static void __set_ino_bitmap(struct f2fs_sb_info *sbi, nid_t ino, int type) 770 { 771 struct inode_management *im = &sbi->im[type]; 772 unsigned long index = INO_SLOT_INDEX(ino); 773 unsigned int ofs = INO_BIT_OFFSET(ino); 774 void **slot, *entry; 775 unsigned long bitmap = 0; 776 int ret; 777 778 ret = radix_tree_preload(GFP_NOFS | __GFP_NOFAIL); 779 f2fs_bug_on(sbi, ret); 780 781 spin_lock(&im->ino_lock); 782 slot = radix_tree_lookup_slot(&im->ino_root, index); 783 if (slot) { > 784 entry = radix_tree_deref_slot_protected(slot, &im->ino_lock); 785 bitmap = xa_to_value(entry); 786 if (!(bitmap & (1UL << ofs))) { 787 bitmap |= (1UL << ofs); 788 entry = xa_mk_value(bitmap); 789 radix_tree_replace_slot(&im->ino_root, slot, entry); 790 } 791 } else { 792 bitmap |= (1UL << ofs); 793 entry = xa_mk_value(bitmap); 794 if (unlikely(radix_tree_insert(&im->ino_root, index, entry))) 795 f2fs_bug_on(sbi, 1); 796 } 797 spin_unlock(&im->ino_lock); 798 radix_tree_preload_end(); 799 } 800 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki