From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="h1pzkjNv" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0557218B; Mon, 27 Nov 2023 16:19:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701130783; x=1732666783; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0Rd3Vb1JaVg5OHjVl34S/KFwWCmxnNJ5+oTqaqueB10=; b=h1pzkjNvkxp+uXGHnmmyLZKOKZYZJMzSQUjztuoojjkIO9yQFuVs8KHZ yqoVfQqqZ+aFhzsm6PYWBbCtatYxQ4Lp8xaycspXFKSJVOmzYU2/8PAma T4YfLbQURx+2c8F7UAuFpHYul8jllfJl6oBAFk8PrNath/C6mK25llOlY L1iZlEHk2h+nf7ck4PlwAfkPKxvgWXqYCxMvBIo9ftM7tTwDQEnNuBSBc QUydMzH6M4YYnyXi/RkFSKkqSYD7To/sHkWpSpDf/Fq5EF676k9QNLPLP cvbXS2eX6BALyKIfofHsO7RWL0eN9Z8Hq90KZec8tMVOKe2ljdj/UJe7C w==; X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="14374368" X-IronPort-AV: E=Sophos;i="6.04,232,1695711600"; d="scan'208";a="14374368" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 16:19:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="941743824" X-IronPort-AV: E=Sophos;i="6.04,232,1695711600"; d="scan'208";a="941743824" Received: from lkp-server01.sh.intel.com (HELO d584ee6ebdcc) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 27 Nov 2023 16:19:37 -0800 Received: from kbuild by d584ee6ebdcc with local (Exim 4.96) (envelope-from ) id 1r7lp9-0006no-0D; Tue, 28 Nov 2023 00:19:35 +0000 Date: Tue, 28 Nov 2023 08:19:31 +0800 From: kernel test robot To: Mario Limonciello , Mateusz =?utf-8?Q?Jo=C5=84czyk?= , Alessandro Zummo , Alexandre Belloni Cc: oe-kbuild-all@lists.linux.dev, "open list:REAL TIME CLOCK (RTC) SUBSYSTEM" , open list , linux-pm@vger.kernel.org, tobrohl@gmail.com, aalsing@gmail.com, Dhaval.Giani@amd.com, xmb8dsv4@gmail.com, x86@kernel.org, dhaval.giani@gmail.com, Dave Hansen , Borislav Petkov , "H . Peter Anvin" , Thomas Gleixner , Ingo Molnar , Mario Limonciello Subject: Re: [PATCH v3 3/4] rtc: Add support for configuring the UIP timeout for RTC reads Message-ID: <202311280605.EB8LQAVD-lkp@intel.com> References: <20231127192553.9734-4-mario.limonciello@amd.com> Precedence: bulk X-Mailing-List: linux-pm@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: <20231127192553.9734-4-mario.limonciello@amd.com> Hi Mario, kernel test robot noticed the following build warnings: [auto build test WARNING on 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab] url: https://github.com/intel-lab-lkp/linux/commits/Mario-Limonciello/rtc-mc146818-lib-Adjust-failure-return-code-for-mc146818_get_time/20231128-032825 base: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab patch link: https://lore.kernel.org/r/20231127192553.9734-4-mario.limonciello%40amd.com patch subject: [PATCH v3 3/4] rtc: Add support for configuring the UIP timeout for RTC reads config: alpha-defconfig (https://download.01.org/0day-ci/archive/20231128/202311280605.EB8LQAVD-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231128/202311280605.EB8LQAVD-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/202311280605.EB8LQAVD-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from include/asm-generic/bug.h:22, from arch/alpha/include/asm/bug.h:23, from include/linux/bug.h:5, from include/linux/thread_info.h:13, from include/asm-generic/current.h:6, from ./arch/alpha/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/delay.h:23, from drivers/rtc/rtc-mc146818-lib.c:3: drivers/rtc/rtc-mc146818-lib.c: In function 'mc146818_avoid_UIP': >> include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/printk.h:427:25: note: in definition of macro 'printk_index_wrap' 427 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ include/linux/printk.h:508:9: note: in expansion of macro 'printk' 508 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ include/linux/kern_levels.h:12:25: note: in expansion of macro 'KERN_SOH' 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ include/linux/printk.h:508:16: note: in expansion of macro 'KERN_WARNING' 508 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ drivers/rtc/rtc-mc146818-lib.c:81:25: note: in expansion of macro 'pr_warn' 81 | pr_warn("Reading current time from RTC took around %d ms\n", | ^~~~~~~ vim +5 include/linux/kern_levels.h 314ba3520e513a Joe Perches 2012-07-30 4 04d2c8c83d0e3a Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII Start Of Header */ 04d2c8c83d0e3a Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001' 04d2c8c83d0e3a Joe Perches 2012-07-30 7 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki