tree:
https://github.com/atishp04/linux sbi_pmu_v1
head: d82bc37d5a962b33af712da468a82d2ced9eb194
commit: 1657022d366b88348885102a415ff0c1e14e6976 [12/14] RISC-V: Add a simple platform
driver for RISC-V legacy perf
config: riscv-randconfig-r001-20210318 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
fcc1ce00931751ac02498986feb37744e9ace8de)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
#
https://github.com/atishp04/linux/commit/1657022d366b88348885102a415ff0c1...
git remote add atishp04
https://github.com/atishp04/linux
git fetch --no-tags atishp04 sbi_pmu_v1
git checkout 1657022d366b88348885102a415ff0c1e14e6976
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/perf/riscv_pmu_legacy.c:76: warning: Function parameter or member 'pmu'
not described in 'riscv_pmu_legacy_init'
> drivers/perf/riscv_pmu_legacy.c:76: warning: expecting prototype
for This is just a simple implementation to allow legacy implementations(). Prototype was
for riscv_pmu_legacy_init() instead
vim +76 drivers/perf/riscv_pmu_legacy.c
67
68 /**
69 * This is just a simple implementation to allow legacy implementations
70 * compatible with new RISC-V PMU driver framework.
71 * This driver only allows reading two counters i.e CYCLE & INSTRET.
72 * However, it can not start or stop the counter. Thus, it is not very useful
73 * will be removed in future.
74 */
75 void riscv_pmu_legacy_init(struct riscv_pmu *pmu)
76 {
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org