* [asahilinux:bits/130-cpufreq 3/4] drivers/cpufreq/apple-soc-cpufreq.c:279:54-55: attr: first occurrence line 284, second occurrence line 291 (fwd)
@ 2022-05-03 21:39 Julia Lawall
0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2022-05-03 21:39 UTC (permalink / raw)
To: Hector Martin, linux-kernel, kbuild-all
There are two initializations of the attr field.
julia
---------- Forwarded message ----------
Date: Tue, 3 May 2022 19:37:32 +0800
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Cc: lkp@intel.com, Julia Lawall <julia.lawall@lip6.fr>
Subject: [asahilinux:bits/130-cpufreq 3/4]
drivers/cpufreq/apple-soc-cpufreq.c:279:54-55: attr: first occurrence line
284, second occurrence line 291
CC: kbuild-all@lists.01.org
BCC: lkp@intel.com
CC: linux-kernel@vger.kernel.org
TO: Hector Martin <marcan@marcan.st>
tree: https://github.com/AsahiLinux/linux bits/130-cpufreq
head: b7105141d60ddab11c03955ae5389fc7f2a369da
commit: 3580ed2b7ae9f66539990a47a90aa71308dab079 [3/4] cpufreq: apple-soc: Add new driver to control Apple SoC CPU P-states
:::::: branch date: 20 hours ago
:::::: commit date: 20 hours ago
config: arm64-randconfig-c023-20220501 (https://download.01.org/0day-ci/archive/20220503/202205031934.CchZIQh3-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
cocci warnings: (new ones prefixed by >>)
>> drivers/cpufreq/apple-soc-cpufreq.c:279:54-55: attr: first occurrence line 284, second occurrence line 291
vim +279 drivers/cpufreq/apple-soc-cpufreq.c
3580ed2b7ae9f66 Hector Martin 2022-02-15 278
3580ed2b7ae9f66 Hector Martin 2022-02-15 @279 static struct cpufreq_driver apple_soc_cpufreq_driver = {
3580ed2b7ae9f66 Hector Martin 2022-02-15 280 .name = "apple-cpufreq",
3580ed2b7ae9f66 Hector Martin 2022-02-15 281 .flags = CPUFREQ_HAVE_GOVERNOR_PER_POLICY |
3580ed2b7ae9f66 Hector Martin 2022-02-15 282 CPUFREQ_NEED_INITIAL_FREQ_CHECK | CPUFREQ_IS_COOLING_DEV,
3580ed2b7ae9f66 Hector Martin 2022-02-15 283 .verify = cpufreq_generic_frequency_table_verify,
3580ed2b7ae9f66 Hector Martin 2022-02-15 @284 .attr = cpufreq_generic_attr,
3580ed2b7ae9f66 Hector Martin 2022-02-15 285 .get = apple_soc_cpufreq_get_rate,
3580ed2b7ae9f66 Hector Martin 2022-02-15 286 .init = apple_soc_cpufreq_init,
3580ed2b7ae9f66 Hector Martin 2022-02-15 287 .exit = apple_soc_cpufreq_exit,
3580ed2b7ae9f66 Hector Martin 2022-02-15 288 .target_index = apple_soc_cpufreq_set_target,
3580ed2b7ae9f66 Hector Martin 2022-02-15 289 .fast_switch = apple_soc_cpufreq_fast_switch,
3580ed2b7ae9f66 Hector Martin 2022-02-15 290 .register_em = cpufreq_register_em_with_opp,
3580ed2b7ae9f66 Hector Martin 2022-02-15 @291 .attr = apple_soc_cpufreq_hw_attr,
3580ed2b7ae9f66 Hector Martin 2022-02-15 292 };
3580ed2b7ae9f66 Hector Martin 2022-02-15 293
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-03 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-03 21:39 [asahilinux:bits/130-cpufreq 3/4] drivers/cpufreq/apple-soc-cpufreq.c:279:54-55: attr: first occurrence line 284, second occurrence line 291 (fwd) Julia Lawall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®