From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.15 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796464567; b=Sllb36/4yX+x5Hn8TG6ZVZwIEjJrR2CvoVgoOBXt96E9X5B4kMjbIW7sBMPJ3aCA/Y5N qzYqby1h1o+C/K1Bm/4aWQWmNJuKgAN/ntp0nlDT5taWSYUtCb/FHPc7Bj23TVujWf9Ea Ib6qLQsJw+Pb8AxtEnhdCYeugydnEulXJbYWYRKTv7fvfxTqRYd/e10mWsvborAPXf0VY yjmoy1tQHREokbx2PLVukGYGtNjXwhsIZnsG9n/rZwQJIcPSGiDxmmrHpXyuzQ1GMz+rs tuXcAmWDzVQRrAmj4TuiZ2FoWq90ZmkUIUnIWVFhbgcXecuDUhHLlgyB0y6koRbxYUA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796464567; 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:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=tGoYMMflpR4+xAYkDO4Qn18e+eiGYY6mM6ikHbsYD5E=; b=2IHV4kd+zg9yz7Rbn6DdAiq7N/Hy6hcC+ICadAFhZE7dfz+7oARCrAbVj2cD83Tah54h nyemt/AqhzI9+vuAPE/ccIX/KX1nmhNA3P4FxlC2SrPJR1IRs0atSefXlEaQBwyYkOztx 51LlQaMsjGsQyM+lw9ELMa70+HnJKtTDBGYtTQDHAOXpIQa3NY3+cH2JL2kn90yyO1NDO 9yyETqhjagk2M50JAVd4axPmyhxbCIZR5kE0Ahr2vNJXd8vcA1AiiQ44jnV/LecVhbPME xFpzOts2hhrBtFcjokozWT/sN8ZGs4XTcDlKQXl3uD1eP0teuq7h1t8/mLtgHicxrGA== 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=NTNE73FE; arc=none smtp.remote-ip=198.175.65.15 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 0582660A381F; Sat, 5 Dec 2026 09:56:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0582660A381F 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=NTNE73FE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796464567; x=1828000567; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=tGoYMMflpR4+xAYkDO4Qn18e+eiGYY6mM6ikHbsYD5E=; b=NTNE73FE8weUao+UxZ6KhOM3cPmn4IsxElpWtKZdkw4QonRpOpf93Neh JCY+oDbNtgxbYcEGZHr4OM2xd6ccW6LcU6bXTyKreR4RKNyOVBvo31vWJ 4nMkmvxbGxmN7td/DPsXAYALp/R/vlkPIh4+y2oiqedCghG20MReV/F9v AkeE7NOI85J5pB8DGyOlK9dDypk6KNaveN1lTN72f6nY6f9BbY3Wah4cu DE+bMCMPeyzo8r22O15TggzfKHsyvvwozK+zKPk9k8yYeh3ABY9TYIU8k 5kXWM2LKhpgSR/1pJD0Mu40S3R8fh7duc587yHfaQwKHGETmjGHknvKrN g==; X-CSE-ConnectionGUID: PD/6eP++Rw6PkZhxJjyLUg== X-CSE-MsgGUID: 1HNzHzRiR8qZygK8MHdSnw== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="5442120" X-IronPort-AV: E=Sophos;i="6.29,80,1794902400"; d="scan'208";a="5442120" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2026 01:56:03 -0800 X-CSE-ConnectionGUID: oyTm/HImQZqKc1iRxHPFrQ== X-CSE-MsgGUID: Uf5Go7R0T7uZO+8bDFtsIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,80,1794902400"; d="scan'208";a="14292174" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by orviesa007.jf.intel.com with ESMTP; 05 Dec 2026 01:56:00 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xZmUn-00000001m2O-0rab; Sat, 05 Dec 2026 09:55:57 +0000 Date: Sat, 5 Dec 2026 17:55:50 +0800 From: kernel test robot To: Franklin-Qi , Andreas Hindborg , Lyude Paul , Miguel Ojeda , Alice Ryhl Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, FUJITA Tomonori , Boqun Feng , Danilo Krummrich , rust-for-linux@vger.kernel.org, Thomas Gleixner , John Stultz , Stephen Boyd , Frederic Weisbecker , Anna-Maria Behnsen , Georgios Androutsopoulos , stable@vger.kernel.org, Franklin-Qi Subject: Re: [PATCH v4 2/2] rust: time: add KUnit tests for Instant Delta clamping Message-ID: <20261205123820.8Vmtiora-lkp@intel.com> References: <20261204092910.253781-1-yusq77@gmail.com> X-Mailing-List: llvm@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261204092910.253781-1-yusq77@gmail.com> Hi Franklin-Qi, kernel test robot noticed the following build warnings: [auto build test WARNING on rust/timekeeping-next] [also build test WARNING on next-20261203] [cannot apply to ah-configfs/configfs-next rust/rust-next linus/master v7.4-rc5] [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/Franklin-Qi/rust-time-keep-Instant-invariant-when-adding-subtracting-Delta/20261204-172843 base: https://github.com/Rust-for-Linux/linux timekeeping-next patch link: https://lore.kernel.org/r/20261204092910.253781-1-yusq77%40gmail.com patch subject: [PATCH v4 2/2] rust: time: add KUnit tests for Instant Delta clamping config: um-allmodconfig (https://download.01.org/0day-ci/archive/20261205/20261205123820.8Vmtiora-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) rustc: rustc 1.96.0 (ac68faa20 2026-05-25) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261205/20261205123820.8Vmtiora-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/20261205123820.8Vmtiora-lkp@intel.com/ All warnings (new ones prefixed by >>): >> warning: associated function `from_ktime` is never used --> rust/kernel/time.rs:272:26 | 248 | impl Instant { | --------------------------------- associated function in this implementation ... 272 | pub(crate) unsafe fn from_ktime(ktime: bindings::ktime_t) -> Self { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default -- In file included from kernel/sched/rq-offsets.c:5: In file included from kernel/sched/sched.h:28: In file included from include/linux/cgroup_api.h:1: In file included from include/linux/cgroup.h:27: In file included from include/linux/kernel_stat.h:8: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from arch/um/include/asm/hardirq.h:24: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:12: In file included from arch/um/include/asm/io.h:24: include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 1209 | return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port; | ~~~~~~~~~~ ^ 1 warning generated. llvm-nm: error: rust/helpers/helpers.o: No such file or directory clang diag: include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] >> warning: associated function `from_ktime` is never used --> rust/kernel/time.rs:272:26 | 248 | impl Instant { | --------------------------------- associated function in this implementation ... 272 | pub(crate) unsafe fn from_ktime(ktime: bindings::ktime_t) -> Self { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki