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=1796464564; b=D34Uc8NpUXeFYkI92Tvl2AMoXRydvcT6vpn3OpV2jUwYDa1NLcAdSnxFbq4dT58rL23s /eNLne9TRWK659FFRayZWQhq5QkHIctR5CsleBtf3l9xe1Lp6QTmksuusvuOJtGAJaFSI 5aWRcoUm2vgeugFjoiJ8+dKrEsbWJ5MM++bcMEoiwyPXA6VPvaNF2iKwbRPxRpleUJcPK m2yMZeW8+ttNKNjCVj4MIujoZ4lfzP48ya99hyq2xvAOxoAZGGyrfPswX5wKYeDxnFzxr F82VX2wjLHvGwqFd6vNB5nJvQjH8g8SbUF6cVl3yOhesWn9LCCekm1bgnmVy3iPYL1A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796464564; 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=Fbqu3HWldZPnQsXb2r41A7i9ogvNBdqwpmnWun8/osNag0LLJt+yf2+K/1kiWnWA5a8D X1L4cNasZ/fnSkXzqyc8EsKldtOA+q9wHVf9ufSSdbruam16mCwHaedmvQYUPwRHnH7A7 B41I7c0xWQUS1wMrBJgL72ix7c4AywGwDer7LCJ5mfbTILvlURIMYOabZkgaf5tQDpY5y +667xToF+Z12OPqI9WkfrqPahVvyrX60ha4Ed4JQ6fTm7L+o9+xbg96s+dk/cudh89w+2 hc6Ub0fAQTLd9ivYWftqUTMvYnerf90chXYj+i2z/Qm5oI9J5TR+BULJf7fxKsrN1Dw== 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=l6xowcgS; 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 E1627606A684; Sat, 5 Dec 2026 09:56:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E1627606A684 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=l6xowcgS DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796464564; x=1828000564; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=tGoYMMflpR4+xAYkDO4Qn18e+eiGYY6mM6ikHbsYD5E=; b=l6xowcgS6ykwdIwFLPnjLPR0HpndECZQ2H8xRBqw9OJQFyZDQrxB6jIy KNg+FfEsEz0nRIXaqrXkLwEo8nlKYwLc4+1uFdyzz/JIUuRe9V16NuwZk xfGEuy4g4VoAJz5j31giktLVRKYf8UX/MUapnZqMzvvVMg1iM12aiwAfB GNM12ds3ZRZFwJL40ZuUYdWuuAanklI7+bAKAYRx7ozLvIiRJ1v+VkDbS NDGs4NuuHIfSJeSXsZSJWflrhVGwSsSwh7tDiRwT65j0idiGTwJD7BuCd gJV0rsAP2dmZz3B3/+N6mZp2HYRzAJ5Q/L5g0blWCrEingbe4PYvSysDn A==; X-CSE-ConnectionGUID: /8DVwgI+T3CrVFORNYyJUg== X-CSE-MsgGUID: jFBzxlt0TAyjFTJgdX8UYA== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="5442121" X-IronPort-AV: E=Sophos;i="6.29,80,1794902400"; d="scan'208";a="5442121" 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: stable@vger.kernel.org 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