All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
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	[thread overview]
Message-ID: <202112281938.deutnKpl-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3052 bytes --]

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head:   2e5244bd3ec10b256c6f03bf2a33dd5a277df6f4
commit: de84e225dd3bff9d3fa40a1bc8aabebd0a26f028 [9995/9999] UPSTREAM: thermal: Move therm_throt there from x86/mce
config: i386-randconfig-r032-20211228 (https://download.01.org/0day-ci/archive/20211228/202112281938.deutnKpl-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/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=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/thermal/intel/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/thermal/intel/therm_throt.c:619:13: warning: no previous prototype 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 thermal
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' thermal 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 = 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 <yong.y.wang@linux.intel.com>
:::::: CC: Ingo Molnar <mingo@elte.hu>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

                 reply	other threads:[~2021-12-28 11:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202112281938.deutnKpl-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.