From: Julia Lawall <julia.lawall@inria.fr>
To: Hector Martin <marcan@marcan.st>,
linux-kernel@vger.kernel.org, kbuild-all@lists.01.org
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 (fwd)
Date: Tue, 3 May 2022 23:39:55 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.22.394.2205032339181.2886@hadrien> (raw)
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
reply other threads:[~2022-05-03 21:40 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=alpine.DEB.2.22.394.2205032339181.2886@hadrien \
--to=julia.lawall@inria.fr \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcan@marcan.st \
/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 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®