From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5515836648631613940==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [chrome-os:chromeos-5.10 9995/9999] drivers/thermal/intel/therm_throt.c:619:13: warning: no previous prototype for 'mcheck_intel_therm_init' Date: Tue, 28 Dec 2021 19:05:51 +0800 Message-ID: <202112281938.deutnKpl-lkp@intel.com> List-Id: --===============5515836648631613940== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chr= omeos-5.10 head: 2e5244bd3ec10b256c6f03bf2a33dd5a277df6f4 commit: de84e225dd3bff9d3fa40a1bc8aabebd0a26f028 [9995/9999] UPSTREAM: ther= mal: Move therm_throt there from x86/mce config: i386-randconfig-r032-20211228 (https://download.01.org/0day-ci/arch= ive/20211228/202112281938.deutnKpl-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): git remote add chrome-os https://chromium.googlesource.com/chromium= os/third_party/kernel git fetch --no-tags chrome-os chromeos-5.10 git checkout de84e225dd3bff9d3fa40a1bc8aabebd0a26f028 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash drivers/ther= mal/intel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/thermal/intel/therm_throt.c:619:13: warning: no previous prototy= pe for 'mcheck_intel_therm_init' [-Wmissing-prototypes] 619 | void __init mcheck_intel_therm_init(void) | ^~~~~~~~~~~~~~~~~~~~~~~ vim +/mcheck_intel_therm_init +619 drivers/thermal/intel/therm_throt.c 70fe440718d9f4 arch/x86/kernel/cpu/mcheck/therm_throt.c Hidetoshi Seto 2009= -12-14 618 = ce6b5d768c79b9 arch/x86/kernel/cpu/mcheck/therm_throt.c Yong Wang 2009= -11-11 @619 void __init mcheck_intel_therm_init(void) a2202aa29289db arch/x86/kernel/cpu/mcheck/therm_throt.c Yong Wang 2009= -11-10 620 { a2202aa29289db arch/x86/kernel/cpu/mcheck/therm_throt.c Yong Wang 2009= -11-10 621 /* a2202aa29289db arch/x86/kernel/cpu/mcheck/therm_throt.c Yong Wang 2009= -11-10 622 * This function is only called on boot CPU. Save the init th= ermal a2202aa29289db arch/x86/kernel/cpu/mcheck/therm_throt.c Yong Wang 2009= -11-10 623 * LVT value on BSP and use that value to restore APs' therma= l LVT a2202aa29289db arch/x86/kernel/cpu/mcheck/therm_throt.c Yong Wang 2009= -11-10 624 * entry BIOS programmed later a2202aa29289db arch/x86/kernel/cpu/mcheck/therm_throt.c Yong Wang 2009= -11-10 625 */ 70fe440718d9f4 arch/x86/kernel/cpu/mcheck/therm_throt.c Hidetoshi Seto 2009= -12-14 626 if (intel_thermal_supported(&boot_cpu_data)) a2202aa29289db arch/x86/kernel/cpu/mcheck/therm_throt.c Yong Wang 2009= -11-10 627 lvtthmr_init =3D apic_read(APIC_LVTTHMR); a2202aa29289db arch/x86/kernel/cpu/mcheck/therm_throt.c Yong Wang 2009= -11-10 628 } a2202aa29289db arch/x86/kernel/cpu/mcheck/therm_throt.c Yong Wang 2009= -11-10 629 = :::::: The code at line 619 was first introduced by commit :::::: ce6b5d768c79b9d5dd6345c033bae781d5ca9b8e x86: Mark the thermal init = functions __init :::::: TO: Yong Wang :::::: CC: Ingo Molnar --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============5515836648631613940==--