From: kernel test robot <lkp@intel.com>
To: Mark Rutland <mark.rutland@arm.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [mark:perf/overflow 2/3] drivers/perf/arm_pmuv3.c:653:3: error: call to undeclared function 'write_pmovsset'; ISO C99 and later do not support implicit function declarations
Date: Thu, 7 Dec 2023 03:11:18 +0800 [thread overview]
Message-ID: <202312070310.UwUHziXk-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git perf/overflow
head: f3b357f85dad79444f2d0c645833fb947de1e88d
commit: 7ba6f752673580876865a00a76702eb2cea8565f [2/3] arm_pmu: rework overflow handling
config: arm-randconfig-001-20231206 (https://download.01.org/0day-ci/archive/20231207/202312070310.UwUHziXk-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231207/202312070310.UwUHziXk-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312070310.UwUHziXk-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/perf/arm_pmuv3.c:653:3: error: call to undeclared function 'write_pmovsset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
write_pmovsset(BIT(counter));
^
drivers/perf/arm_pmuv3.c:653:3: note: did you mean 'write_pmovsclr'?
arch/arm/include/asm/arm_pmuv3.h:180:20: note: 'write_pmovsclr' declared here
static inline void write_pmovsclr(u32 val)
^
1 error generated.
vim +/write_pmovsset +653 drivers/perf/arm_pmuv3.c
646
647 static inline void armv8pmu_enable_event_irq(struct perf_event *event)
648 {
649 u32 counter = ARMV8_IDX_TO_COUNTER(event->hw.idx);
650 armv8pmu_enable_intens(BIT(counter));
651
652 if (local64_read(&event->hw.period_left) <= 0) {
> 653 write_pmovsset(BIT(counter));
654 isb();
655 }
656 }
657
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-12-06 19:12 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=202312070310.UwUHziXk-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=mark.rutland@arm.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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