All of lore.kernel.org
 help / color / mirror / Atom feed
* [curro:intel_pstate-vlp-v3 7/16] include/linux/acpi.h:1177:9: sparse: this was the original definition
@ 2020-09-15  8:49 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-15  8:49 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/curro/linux intel_pstate-vlp-v3
head:   320f232d1770592e468b87a378dc08ede8f654dc
commit: 38a4edd698dc7ea425825088702686ee52294192 [7/16] cpufreq: intel_pstate: Implement VLP controller statistics and target range calculation.
:::::: branch date: 8 days ago
:::::: commit date: 8 days ago
config: x86_64-randconfig-s022-20200914 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 38a4edd698dc7ea425825088702686ee52294192
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

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


sparse warnings: (new ones prefixed by >>)

   drivers/cpufreq/intel_pstate.c: note: in included file (through drivers/cpufreq/../../kernel/sched/sched.h):
   include/asm-generic/vmlinux.lds.h:299:9: sparse: sparse: preprocessor token ACPI_PROBE_TABLE redefined
   drivers/cpufreq/intel_pstate.c: note: in included file:
>> include/linux/acpi.h:1177:9: sparse: this was the original definition

# https://github.com/curro/linux/commit/38a4edd698dc7ea425825088702686ee52294192
git remote add curro https://github.com/curro/linux
git fetch --no-tags curro intel_pstate-vlp-v3
git checkout 38a4edd698dc7ea425825088702686ee52294192
vim +1177 include/linux/acpi.h

e647b532275bb3 Marc Zyngier 2015-09-28  1154  
8ebf642f3d809b Oscar Carter 2020-05-30  1155  #define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable,	\
8ebf642f3d809b Oscar Carter 2020-05-30  1156  				 valid, data, fn)			\
e647b532275bb3 Marc Zyngier 2015-09-28  1157  	static const struct acpi_probe_entry __acpi_probe_##name	\
8ebf642f3d809b Oscar Carter 2020-05-30  1158  		__used __section(__##table##_acpi_probe_table) = {	\
e647b532275bb3 Marc Zyngier 2015-09-28  1159  			.id = table_id,					\
e647b532275bb3 Marc Zyngier 2015-09-28  1160  			.type = subtable,				\
e647b532275bb3 Marc Zyngier 2015-09-28  1161  			.subtable_valid = valid,			\
8ebf642f3d809b Oscar Carter 2020-05-30  1162  			.probe_table = fn,				\
e647b532275bb3 Marc Zyngier 2015-09-28  1163  			.driver_data = data,				\
e647b532275bb3 Marc Zyngier 2015-09-28  1164  		}
e647b532275bb3 Marc Zyngier 2015-09-28  1165  
89778093d38d54 Oscar Carter 2020-05-30  1166  #define ACPI_DECLARE_SUBTABLE_PROBE_ENTRY(table, name, table_id,	\
89778093d38d54 Oscar Carter 2020-05-30  1167  					  subtable, valid, data, fn)	\
89778093d38d54 Oscar Carter 2020-05-30  1168  	static const struct acpi_probe_entry __acpi_probe_##name	\
89778093d38d54 Oscar Carter 2020-05-30  1169  		__used __section(__##table##_acpi_probe_table) = {	\
89778093d38d54 Oscar Carter 2020-05-30  1170  			.id = table_id,					\
89778093d38d54 Oscar Carter 2020-05-30  1171  			.type = subtable,				\
89778093d38d54 Oscar Carter 2020-05-30  1172  			.subtable_valid = valid,			\
89778093d38d54 Oscar Carter 2020-05-30  1173  			.probe_subtbl = fn,				\
e647b532275bb3 Marc Zyngier 2015-09-28  1174  			.driver_data = data,				\
e647b532275bb3 Marc Zyngier 2015-09-28  1175  		}
e647b532275bb3 Marc Zyngier 2015-09-28  1176  
e647b532275bb3 Marc Zyngier 2015-09-28 @1177  #define ACPI_PROBE_TABLE(name)		__##name##_acpi_probe_table
e647b532275bb3 Marc Zyngier 2015-09-28  1178  #define ACPI_PROBE_TABLE_END(name)	__##name##_acpi_probe_table_end
e647b532275bb3 Marc Zyngier 2015-09-28  1179  

:::::: The code at line 1177 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: 36716 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [curro:intel_pstate-vlp-v3 7/16] include/linux/acpi.h:1177:9: sparse: this was the original definition
@ 2020-09-15  1:06 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-15  1:06 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
TO: Francisco Jerez <currojerez@riseup.net>

tree:   https://github.com/curro/linux intel_pstate-vlp-v3
head:   320f232d1770592e468b87a378dc08ede8f654dc
commit: 38a4edd698dc7ea425825088702686ee52294192 [7/16] cpufreq: intel_pstate: Implement VLP controller statistics and target range calculation.
:::::: branch date: 8 days ago
:::::: commit date: 8 days ago
config: x86_64-randconfig-s022-20200914 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 38a4edd698dc7ea425825088702686ee52294192
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

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


sparse warnings: (new ones prefixed by >>)

   drivers/cpufreq/intel_pstate.c: note: in included file (through drivers/cpufreq/../../kernel/sched/sched.h):
   include/asm-generic/vmlinux.lds.h:299:9: sparse: sparse: preprocessor token ACPI_PROBE_TABLE redefined
   drivers/cpufreq/intel_pstate.c: note: in included file:
>> include/linux/acpi.h:1177:9: sparse: this was the original definition

# https://github.com/curro/linux/commit/38a4edd698dc7ea425825088702686ee52294192
git remote add curro https://github.com/curro/linux
git fetch --no-tags curro intel_pstate-vlp-v3
git checkout 38a4edd698dc7ea425825088702686ee52294192
vim +1177 include/linux/acpi.h

e647b532275bb3 Marc Zyngier 2015-09-28  1154  
8ebf642f3d809b Oscar Carter 2020-05-30  1155  #define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable,	\
8ebf642f3d809b Oscar Carter 2020-05-30  1156  				 valid, data, fn)			\
e647b532275bb3 Marc Zyngier 2015-09-28  1157  	static const struct acpi_probe_entry __acpi_probe_##name	\
8ebf642f3d809b Oscar Carter 2020-05-30  1158  		__used __section(__##table##_acpi_probe_table) = {	\
e647b532275bb3 Marc Zyngier 2015-09-28  1159  			.id = table_id,					\
e647b532275bb3 Marc Zyngier 2015-09-28  1160  			.type = subtable,				\
e647b532275bb3 Marc Zyngier 2015-09-28  1161  			.subtable_valid = valid,			\
8ebf642f3d809b Oscar Carter 2020-05-30  1162  			.probe_table = fn,				\
e647b532275bb3 Marc Zyngier 2015-09-28  1163  			.driver_data = data,				\
e647b532275bb3 Marc Zyngier 2015-09-28  1164  		}
e647b532275bb3 Marc Zyngier 2015-09-28  1165  
89778093d38d54 Oscar Carter 2020-05-30  1166  #define ACPI_DECLARE_SUBTABLE_PROBE_ENTRY(table, name, table_id,	\
89778093d38d54 Oscar Carter 2020-05-30  1167  					  subtable, valid, data, fn)	\
89778093d38d54 Oscar Carter 2020-05-30  1168  	static const struct acpi_probe_entry __acpi_probe_##name	\
89778093d38d54 Oscar Carter 2020-05-30  1169  		__used __section(__##table##_acpi_probe_table) = {	\
89778093d38d54 Oscar Carter 2020-05-30  1170  			.id = table_id,					\
89778093d38d54 Oscar Carter 2020-05-30  1171  			.type = subtable,				\
89778093d38d54 Oscar Carter 2020-05-30  1172  			.subtable_valid = valid,			\
89778093d38d54 Oscar Carter 2020-05-30  1173  			.probe_subtbl = fn,				\
e647b532275bb3 Marc Zyngier 2015-09-28  1174  			.driver_data = data,				\
e647b532275bb3 Marc Zyngier 2015-09-28  1175  		}
e647b532275bb3 Marc Zyngier 2015-09-28  1176  
e647b532275bb3 Marc Zyngier 2015-09-28 @1177  #define ACPI_PROBE_TABLE(name)		__##name##_acpi_probe_table
e647b532275bb3 Marc Zyngier 2015-09-28  1178  #define ACPI_PROBE_TABLE_END(name)	__##name##_acpi_probe_table_end
e647b532275bb3 Marc Zyngier 2015-09-28  1179  

:::::: The code at line 1177 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: 36716 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-15  8:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15  8:49 [curro:intel_pstate-vlp-v3 7/16] include/linux/acpi.h:1177:9: sparse: this was the original definition kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-09-15  1:06 kernel test robot

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.