From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.9 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796556538; b=ZasUVto6WtMbYrlBceSTE1PeXqtJYBzKrJwPhwikhFIZfZXbV0MvDFjSiAnDhkelcmfH NYU4c1wemhlJhGfEhaBzJpwl0H7xJzs7ZC5py7yya1Qi/U7cKBtGqMyCmcSqURkea+KGQ VezW4y07yWt/+z8eFPPdl42mLDsw2+tzIuED9PDFOJEX7gl0BLxfpnM0EWr2aNpT8yl8N PCd0Asp/HweRnTjF0IoDm+OpMIkA13OJfkK5zIaFzlMWpnbj4Mc9PVy1SYLqvY8/tP1xO GpbgDAJJ5nx+k/8/E1XuhG+6aZgr7Z+QhLRwsejKI/JuW7PcabwOaf7tbni10C23yEw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796556538; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=zPCFmlalYki3WrQ2V85i/mFs8yZ2hisaeUoSAAqIVbg=; b=e6bAJ0d6RL3dhS6JPDFIQRgAskv2ELSE3LO4dPmTiYtLoqDjuIZmWs4r4FLTO0i2Ij3R uX6m18LStxZSgUrmjp/XDV+SAkGZypAOeKpoKKQA81hU9lO3ebHitnLHFgZ6AwCyQGIIl aU+EPobJ+XgmBh9Oz4lQ/z2+N0cJG1EqfVfHo31dXodEgmyHPZBYrhlWxPCP313bcoP35 0h+iN8FbRsm0cjRrk+x85j1JBD33fYg5Z4JJv+tbkGmcTJUuJKmRRqh3s9BfLp+eiUInt sDGsMQOynA4g8ak3QY25Y9H/hix2ghovcuMmMY6XIejd0t0EHgihOC6k4z6EZdObrRw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=dMlR3Uzg; arc=none smtp.remote-ip=198.175.65.9 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4710A606A339 for ; Sun, 6 Dec 2026 11:28:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4710A606A339 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.a=rsa-sha256 header.s=Intel header.b=dMlR3Uzg DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796556538; x=1828092538; h=date:from:to:cc:subject:message-id; bh=zPCFmlalYki3WrQ2V85i/mFs8yZ2hisaeUoSAAqIVbg=; b=dMlR3UzgEolL7swnYepvclOCuvV3cm7akgHF1DBjlhja1lPVgPOfTRSD v4Kgi5vUDk++iLQ9DWcLTvzp8pOvRXRZFiPahXiapENCY1+AP0CjuRrQK LKtEizU0CX0IILJmwHJpOO0EsjiYyM602r0wvFtJgut0Q4IrmzUGjsFrX eEGua4VpS7zdW/givrSkda7je6QW+/eq3raJKqnw9t0+dbKxdXlVNQo0J Vj4vDvxxJlTZq5kVmuNhBa03mMy65A+wbBsJ/hRtULA/8sZJ5mr/Xv9nC DCDGS7c47FyH36qGDa3ePnWW3IBDabt1eqvuIDc08Skb7ZAihThVWypOj Q==; X-CSE-ConnectionGUID: 1PPpAdvwTV2ZoaFuHUlJGw== X-CSE-MsgGUID: 9pW6OVznR6OEmbtr1XqtUA== X-IronPort-AV: E=McAfee;i="6800,10657,11988"; a="5393322" X-IronPort-AV: E=Sophos;i="6.29,81,1794902400"; d="scan'208";a="5393322" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2026 03:28:57 -0800 X-CSE-ConnectionGUID: wEQ+YdpOQmqJjsZ9YOIFKQ== X-CSE-MsgGUID: 7g1YQgRXQlexaHep1r/bQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,81,1794902400"; d="scan'208";a="5930829" Received: from igk-lkp-server01.igk.intel.com (HELO 146cf1e082f1) ([10.211.93.152]) by orviesa010.jf.intel.com with ESMTP; 06 Dec 2026 03:28:55 -0800 Received: from kbuild by 146cf1e082f1 with local (Exim 4.98.2) (envelope-from ) id 1xaAQH-000000004wx-1l3N; Sun, 06 Dec 2026 11:28:53 +0000 Date: Sun, 06 Dec 2026 12:28:18 +0100 From: kernel test robot To: Mateusz Guzik Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Christian Brauner Subject: fs/filesystems.c:250:15: sparse: sparse: incorrect type in initializer (different base types) Message-ID: <20261205021350.CpVtXk0E-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c3500c5ef648855b0063e763d3847688fe68711d commit: 36b3306779ea58f994a614b3663a196707a66ce2 fs: cache the string generated by reading /proc/filesystems date: 7 months ago config: sparc-randconfig-r2300-20261203 (https://download.01.org/0day-ci/archive/20261205/20261205021350.CpVtXk0E-lkp@intel.com/config) compiler: sparc-linux-gcc (GCC) 14.4.0 sparse: v0.6.5-rc1-94-g0d159c10 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261205/20261205021350.CpVtXk0E-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: 36b3306779ea ("fs: cache the string generated by reading /proc/filesystems") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/20261205021350.CpVtXk0E-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> fs/filesystems.c:250:15: sparse: sparse: incorrect type in initializer (different base types) @@ expected void *__tmp @@ got struct file_systems_string * @@ fs/filesystems.c:250:15: sparse: expected void *__tmp fs/filesystems.c:250:15: sparse: got struct file_systems_string * fs/filesystems.c:286:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct file_systems_string *old @@ got struct file_systems_string [noderef] __rcu *static [addressable] [assigned] [toplevel] file_systems_string @@ fs/filesystems.c:286:13: sparse: expected struct file_systems_string *old fs/filesystems.c:286:13: sparse: got struct file_systems_string [noderef] __rcu *static [addressable] [assigned] [toplevel] file_systems_string fs/filesystems.c:332:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct file_systems_string [noderef] __rcu *volatile @@ got struct file_systems_string *[assigned] new @@ fs/filesystems.c:332:9: sparse: expected struct file_systems_string [noderef] __rcu *volatile fs/filesystems.c:332:9: sparse: got struct file_systems_string *[assigned] new vim +250 fs/filesystems.c 242 243 #ifdef CONFIG_PROC_FS 244 static void invalidate_filesystems_string(void) 245 { 246 struct file_systems_string *old; 247 248 lockdep_assert_held_write(&file_systems_lock); 249 file_systems_gen++; > 250 old = rcu_replace_pointer(file_systems_string, NULL, 251 lockdep_is_held(&file_systems_lock)); 252 if (old) 253 kfree_rcu(old, rcu); 254 } 255 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki