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 B186A25743 for ; Wed, 13 Dec 2023 19:38:22 +0000 (UTC) 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="jt3/j/ma" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702496303; x=1734032303; h=date:from:to:cc:subject:message-id:mime-version; bh=gW8XcY4jA97MoDzY9BtTI3l/RZtpGKSX3+w7KkSNdag=; b=jt3/j/maxkQfCKjy0JH1oq3l8hKG/4UuHqqBKPNX2dtcgMUrrRxx/qYd SDhd/N3gzQiOY1VjgEHNxIU7KPm3gaKNv2Rz96Q+4EQApMouZn4ZVcPbX sje/UQrCLM5xgp9vRrumps71ojr0i3IMVgr+wHcnaJLZM/svmKAydPiXJ 0eAbmX1QuA04oP/foJXDcKA0J6YBBxskg/9u7PQM2WExfgjrAnk+dDbAb K+oBaEcsKJ7VP51eqGUj6owGakcLOsiKCXw74gxOoceUuDIdnjfBNb2R4 2/mW7ISTZwErUNxyAJ+6E2h4MaAaYIeHKoJlJAJpopONRNcEKqCULX2KD g==; X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="1834168" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="1834168" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 11:38:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="777616109" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="777616109" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 13 Dec 2023 11:38:13 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rDV3Y-000L3r-2O; Wed, 13 Dec 2023 19:38:08 +0000 Date: Thu, 14 Dec 2023 03:37:59 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android11-5.4 7243/28637] fs/incfs/data_mgmt.h:318:44: sparse: sparse: cast truncates bits from constant value (5346434e49 becomes 46434e49) Message-ID: <202312140303.bJY8d8Wo-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://android.googlesource.com/kernel/common android11-5.4 head: f51804072bcc58759ff6228a3d73edadfb5cf787 commit: 6a5003146f8798ddd9f3f912c516208af7106a1b [7243/28637] ANDROID: Incremental fs: Fix four error-path bugs config: i386-randconfig-061-20231110 (https://download.01.org/0day-ci/archive/20231214/202312140303.bJY8d8Wo-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231214/202312140303.bJY8d8Wo-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202312140303.bJY8d8Wo-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) fs/incfs/data_mgmt.c: note: in included file: >> fs/incfs/data_mgmt.h:318:44: sparse: sparse: cast truncates bits from constant value (5346434e49 becomes 46434e49) -- fs/incfs/vfs.c: note: in included file: >> fs/incfs/data_mgmt.h:318:44: sparse: sparse: cast truncates bits from constant value (5346434e49 becomes 46434e49) fs/incfs/vfs.c:1257:48: sparse: sparse: non size-preserving integer to pointer cast fs/incfs/vfs.c:2181:23: sparse: sparse: cast truncates bits from constant value (5346434e49 becomes 46434e49) vim +318 fs/incfs/data_mgmt.h 295 296 /* 297 * Collects pending reads and saves them into the array (reads/reads_size). 298 * Only reads with serial_number > sn_lowerbound are reported. 299 * Returns how many reads were saved into the array. 300 */ 301 int incfs_collect_pending_reads(struct mount_info *mi, int sn_lowerbound, 302 struct incfs_pending_read_info *reads, 303 int reads_size); 304 305 int incfs_collect_logged_reads(struct mount_info *mi, 306 struct read_log_state *start_state, 307 struct incfs_pending_read_info *reads, 308 int reads_size); 309 struct read_log_state incfs_get_log_state(struct mount_info *mi); 310 int incfs_get_uncollected_logs_count(struct mount_info *mi, 311 const struct read_log_state *state); 312 313 static inline struct inode_info *get_incfs_node(struct inode *inode) 314 { 315 if (!inode) 316 return NULL; 317 > 318 if (inode->i_sb->s_magic != (long) INCFS_MAGIC_NUMBER) { 319 /* This inode doesn't belong to us. */ 320 pr_warn_once("incfs: %s on an alien inode.", __func__); 321 return NULL; 322 } 323 324 return container_of(inode, struct inode_info, n_vfs_inode); 325 } 326 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki