All of lore.kernel.org
 help / color / mirror / Atom feed
* [atishp04:sbi_pmu_v2 12/15] drivers/perf/riscv_pmu_legacy.c:81: warning: expecting prototype for This is just a simple implementation to allow legacy implementations(). Prototype was for riscv_pmu_legacy_init() instead
@ 2021-05-26 22:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-26 22:40 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/atishp04/linux sbi_pmu_v2
head:   d84dae6c7e2dafff0eae05e69a28bf470e28ffc5
commit: a2aec275bf13037272c26c0ecb9ef736a64cb342 [12/15] RISC-V: Add a simple platform driver for RISC-V legacy perf
config: riscv-randconfig-r024-20210526 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1)
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/a2aec275bf13037272c26c0ecb9ef736a64cb342
        git remote add atishp04 https://github.com/atishp04/linux
        git fetch --no-tags atishp04 sbi_pmu_v2
        git checkout a2aec275bf13037272c26c0ecb9ef736a64cb342
        # 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@intel.com>

All warnings (new ones prefixed by >>):

   drivers/perf/riscv_pmu_legacy.c:81: warning: Function parameter or member 'pmu' not described in 'riscv_pmu_legacy_init'
>> drivers/perf/riscv_pmu_legacy.c:81: warning: expecting prototype for This is just a simple implementation to allow legacy implementations(). Prototype was for riscv_pmu_legacy_init() instead


vim +81 drivers/perf/riscv_pmu_legacy.c

    72	
    73	/**
    74	 * This is just a simple implementation to allow legacy implementations
    75	 * compatible with new RISC-V PMU driver framework.
    76	 * This driver only allows reading two counters i.e CYCLE & INSTRET.
    77	 * However, it can not start or stop the counter. Thus, it is not very useful
    78	 * will be removed in future.
    79	 */
    80	void riscv_pmu_legacy_init(struct riscv_pmu *pmu)
  > 81	{

---
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: 37883 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-26 22:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 22:40 [atishp04:sbi_pmu_v2 12/15] drivers/perf/riscv_pmu_legacy.c:81: warning: expecting prototype for This is just a simple implementation to allow legacy implementations(). Prototype was for riscv_pmu_legacy_init() instead 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.