All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [curro:for-edward 7/17] include/asm-generic/vmlinux.lds.h:299:9: warning: 'ACPI_PROBE_TABLE' macro redefined
Date: Wed, 30 Sep 2020 23:18:00 +0800	[thread overview]
Message-ID: <202009302356.2AP0rX2n-lkp@intel.com> (raw)

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

tree:   https://github.com/curro/linux for-edward
head:   9ba143107276ffb71f116efd181424c070805213
commit: b17127f75521e43cafb06f5e7c4bbf4b89a7080f [7/17] cpufreq: intel_pstate: Implement VLP controller statistics and target range calculation.
config: x86_64-randconfig-a005-20200930 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bcd05599d0e53977a963799d6ee4f6e0bc21331b)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/curro/linux/commit/b17127f75521e43cafb06f5e7c4bbf4b89a7080f
        git remote add curro https://github.com/curro/linux
        git fetch --no-tags curro for-edward
        git checkout b17127f75521e43cafb06f5e7c4bbf4b89a7080f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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 >>):

   In file included from drivers/cpufreq/intel_pstate.c:37:
   In file included from drivers/cpufreq/../../kernel/sched/sched.h:70:
>> include/asm-generic/vmlinux.lds.h:299:9: warning: 'ACPI_PROBE_TABLE' macro redefined [-Wmacro-redefined]
   #define ACPI_PROBE_TABLE(name)                                          \
           ^
   include/linux/acpi.h:1177:9: note: previous definition is here
   #define ACPI_PROBE_TABLE(name)          __##name##_acpi_probe_table
           ^
   drivers/cpufreq/intel_pstate.c:90:23: warning: unused function 'percent_fp' [-Wunused-function]
   static inline int32_t percent_fp(int percent)
                         ^
   drivers/cpufreq/intel_pstate.c:105:23: warning: unused function 'percent_ext_fp' [-Wunused-function]
   static inline int32_t percent_ext_fp(int percent)
                         ^
   drivers/cpufreq/intel_pstate.c:2041:13: warning: unused function 'intel_pstate_reset_vlp' [-Wunused-function]
   static void intel_pstate_reset_vlp(struct cpudata *cpu)
               ^
   drivers/cpufreq/intel_pstate.c:2190:39: warning: unused function 'get_vlp_target_range' [-Wunused-function]
   static const struct vlp_target_range *get_vlp_target_range(struct cpudata *cpu)
                                         ^
   drivers/cpufreq/intel_pstate.c:2314:13: warning: unused function 'update_vlp_sample' [-Wunused-function]
   static bool update_vlp_sample(struct cpudata *cpu, u64 time, unsigned int flags)
               ^
   6 warnings generated.

vim +/ACPI_PROBE_TABLE +299 include/asm-generic/vmlinux.lds.h

6c3ff8b11a16ec6 Stephen Boyd    2013-10-30  297  
e647b532275bb35 Marc Zyngier    2015-09-28  298  #ifdef CONFIG_ACPI
e647b532275bb35 Marc Zyngier    2015-09-28 @299  #define ACPI_PROBE_TABLE(name)						\
e647b532275bb35 Marc Zyngier    2015-09-28  300  	. = ALIGN(8);							\
a62143850053332 Masahiro Yamada 2018-05-09  301  	__##name##_acpi_probe_table = .;				\
4b89b7f7aad5742 Nicholas Piggin 2016-11-24  302  	KEEP(*(__##name##_acpi_probe_table))				\
a62143850053332 Masahiro Yamada 2018-05-09  303  	__##name##_acpi_probe_table_end = .;
e647b532275bb35 Marc Zyngier    2015-09-28  304  #else
e647b532275bb35 Marc Zyngier    2015-09-28  305  #define ACPI_PROBE_TABLE(name)
e647b532275bb35 Marc Zyngier    2015-09-28  306  #endif
e647b532275bb35 Marc Zyngier    2015-09-28  307  

:::::: The code at line 299 was first introduced by commit
:::::: e647b532275bb357e87272e052fccf5fcdb36a17 ACPI: Add early device probing infrastructure

:::::: TO: Marc Zyngier <Marc.Zyngier@arm.com>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33122 bytes --]

                 reply	other threads:[~2020-09-30 15:18 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=202009302356.2AP0rX2n-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.