From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (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 C6CF315CD62 for ; Sun, 8 Sep 2024 12:40:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725799214; cv=none; b=hjySHm0fx83VMER/oVtp1xkhv+Wcb5Hfr5ebX734XY8tWeqtXJdkkACZfzZsLjXNnGz8Gbrh9AMTzZra5VvHRzMPISI5W9Y8UJUd3ApL6KiKO7S9pOdO6JM6XfgJT65LEUEmskuFKvrBFY+ZJ23VHiTrhoZrgIoGr6ZWxEJhlmE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725799214; c=relaxed/simple; bh=U/gnItvYg0poSy1cgGIDuhrkLFowImdZK9c8yAHZPbs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=b9wKrOlMb7i1ic2Exe/1at9C7XIjwzx396UwKRpeV0wdhVVykObseLF7dO3/C1u28yJmq3o524YFwuA2eQKRY7pcHqteCqCN5MvsGrnav6wRqzFVoaZZRMhG09ov7S9GRuW4HgqW55TDcyOpicTz3pYrijr6eRSZp+uxOD/p+j0= 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=JtrGSfD4; arc=none smtp.client-ip=192.198.163.16 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="JtrGSfD4" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725799213; x=1757335213; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=U/gnItvYg0poSy1cgGIDuhrkLFowImdZK9c8yAHZPbs=; b=JtrGSfD4w0xdBa0mHQc4Lqs7rrqaKambdQHqBtyDqOWR/liLqhUS90AV hMMpRfjIJnWd/oD2Ps8Zr1jyw15YmTP5pDtm+hs5+Fi4J5xjjGcw270/C hZ84T0a29ySS0w+BfRKmGN7Yd73519PoMUfjicigr9uJzRmfVEVq8ZH1x 8puqYrgF3TbgGSU2dmulkUy/BEF20sD9KtW9GAW2BEGC4k8GKwbhPvAL3 pGh5mIZNVoqVemUAKBdWVz9hHzQVsSKw+q8Ky1JTuvRwV4Fpez7ipqL2r 6YNe7UAcFvgJsL2luQsUuSEFl9gDiOLeGKv1vgN2nrVoWItnRMEKXgS3F Q==; X-CSE-ConnectionGUID: bOc5ZqBvREuQYjB4hzvWrw== X-CSE-MsgGUID: YZsN+5+DSjCvfBFQar53ew== X-IronPort-AV: E=McAfee;i="6700,10204,11189"; a="13428431" X-IronPort-AV: E=Sophos;i="6.10,212,1719903600"; d="scan'208";a="13428431" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2024 05:40:12 -0700 X-CSE-ConnectionGUID: XSKis/wHTbmgxj1Qw+7iTQ== X-CSE-MsgGUID: xUf6f1kjSZCALNtS7Scqpg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,212,1719903600"; d="scan'208";a="66397008" Received: from lkp-server01.sh.intel.com (HELO 9c6b1c7d3b50) ([10.239.97.150]) by fmviesa009.fm.intel.com with ESMTP; 08 Sep 2024 05:40:10 -0700 Received: from kbuild by 9c6b1c7d3b50 with local (Exim 4.96) (envelope-from ) id 1snHD6-000DWV-1A; Sun, 08 Sep 2024 12:40:08 +0000 Date: Sun, 8 Sep 2024 20:39:54 +0800 From: kernel test robot To: Benjamin ROBIN , jstultz@google.com, tglx@linutronix.de Cc: oe-kbuild-all@lists.linux.dev, sboyd@kernel.org, linux-kernel@vger.kernel.org, Benjamin ROBIN Subject: Re: [PATCH] ntp: Make sure RTC is synchronized when time goes backwards Message-ID: <202409082008.BODTFEfx-lkp@intel.com> References: <20240907190900.55421-1-dev@benjarobin.fr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240907190900.55421-1-dev@benjarobin.fr> Hi Benjamin, kernel test robot noticed the following build errors: [auto build test ERROR on tip/timers/core] [also build test ERROR on linus/master v6.11-rc6 next-20240906] [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/Benjamin-ROBIN/ntp-Make-sure-RTC-is-synchronized-when-time-goes-backwards/20240908-032754 base: tip/timers/core patch link: https://lore.kernel.org/r/20240907190900.55421-1-dev%40benjarobin.fr patch subject: [PATCH] ntp: Make sure RTC is synchronized when time goes backwards config: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20240908/202409082008.BODTFEfx-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240908/202409082008.BODTFEfx-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/202409082008.BODTFEfx-lkp@intel.com/ All errors (new ones prefixed by >>): kernel/time/ntp.c: In function 'process_adjtimex_modes': >> kernel/time/ntp.c:757:33: error: 'sync_hrtimer' undeclared (first use in this function) 757 | hrtimer_cancel(&sync_hrtimer); | ^~~~~~~~~~~~ kernel/time/ntp.c:757:33: note: each undeclared identifier is reported only once for each function it appears in vim +/sync_hrtimer +757 kernel/time/ntp.c 707 708 709 static inline void process_adjtimex_modes(const struct __kernel_timex *txc, 710 s32 *time_tai) 711 { 712 if (txc->modes & ADJ_STATUS) 713 process_adj_status(txc); 714 715 if (txc->modes & ADJ_NANO) 716 time_status |= STA_NANO; 717 718 if (txc->modes & ADJ_MICRO) 719 time_status &= ~STA_NANO; 720 721 if (txc->modes & ADJ_FREQUENCY) { 722 time_freq = txc->freq * PPM_SCALE; 723 time_freq = min(time_freq, MAXFREQ_SCALED); 724 time_freq = max(time_freq, -MAXFREQ_SCALED); 725 /* update pps_freq */ 726 pps_set_freq(time_freq); 727 } 728 729 if (txc->modes & ADJ_MAXERROR) 730 time_maxerror = txc->maxerror; 731 732 if (txc->modes & ADJ_ESTERROR) 733 time_esterror = txc->esterror; 734 735 if (txc->modes & ADJ_TIMECONST) { 736 time_constant = txc->constant; 737 if (!(time_status & STA_NANO)) 738 time_constant += 4; 739 time_constant = min(time_constant, (long)MAXTC); 740 time_constant = max(time_constant, 0l); 741 } 742 743 if (txc->modes & ADJ_TAI && 744 txc->constant >= 0 && txc->constant <= MAX_TAI_OFFSET) 745 *time_tai = txc->constant; 746 747 if (txc->modes & ADJ_OFFSET) 748 ntp_update_offset(txc->offset); 749 750 if (txc->modes & ADJ_TICK) 751 tick_usec = txc->tick; 752 753 if (txc->modes & (ADJ_TICK|ADJ_FREQUENCY|ADJ_OFFSET)) 754 ntp_update_frequency(); 755 756 if (txc->modes & ADJ_SETOFFSET) > 757 hrtimer_cancel(&sync_hrtimer); 758 } 759 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki