[PATCH 2/2] powerpc/perf: Check pmus_inuse flag in perf_event_print_debug()
kbuild test robot
lkp at intel.com
Tue Nov 12 13:44:50 AEDT 2019
Hi Madhavan,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on powerpc/next]
[also build test WARNING on v5.4-rc7 next-20191111]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Madhavan-Srinivasan/powerpc-perf-Add-mtmmcr0-FC-after-ppc_set_pmu_inuse-1/20191109-143451
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-pmac32_defconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/powerpc/oprofile/common.c:17:0:
arch/powerpc/include/asm/pmc.h: In function 'ppc_get_pmu_inuse':
>> arch/powerpc/include/asm/pmc.h:56:1: warning: no return statement in function returning non-void [-Wreturn-type]
static inline u8 ppc_get_pmu_inuse(void) { }
^~~~~~
vim +56 arch/powerpc/include/asm/pmc.h
54
55 static inline void ppc_set_pmu_inuse(int inuse) { }
> 56 static inline u8 ppc_get_pmu_inuse(void) { }
57
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 24436 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20191112/23ffbf88/attachment-0001.gz>
More information about the Linuxppc-dev
mailing list