Re: [PATCH v11 2/8] perf: imx_perf: add macro definitions for parsing config attr
From: kernel test robot
Date: Tue May 28 2024 - 09:22:04 EST
Hi Xu,
kernel test robot noticed the following build warnings:
[auto build test WARNING on perf-tools-next/perf-tools-next]
[also build test WARNING on tip/perf/core perf-tools/perf-tools linus/master v6.10-rc1 next-20240528]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Xu-Yang/perf-imx_perf-add-macro-definitions-for-parsing-config-attr/20240528-160104
base: https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git perf-tools-next
patch link: https://lore.kernel.org/r/20240528160523.1695953-2-xu.yang_2%40nxp.com
patch subject: [PATCH v11 2/8] perf: imx_perf: add macro definitions for parsing config attr
config: arm64-randconfig-004-20240528 (https://download.01.org/0day-ci/archive/20240528/202405282005.xvD134Kz-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240528/202405282005.xvD134Kz-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405282005.xvD134Kz-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/perf/fsl_imx9_ddr_perf.c:46: warning: "CONFIG_COUNTER" redefined
46 | #define CONFIG_COUNTER GENMASK(15, 8)
|
In file included from include/linux/kconfig.h:5,
from <command-line>:
./include/generated/autoconf.h:433: note: this is the location of the previous definition
433 | #define CONFIG_COUNTER 1
|
vim +/CONFIG_COUNTER +46 drivers/perf/fsl_imx9_ddr_perf.c
44
45 #define CONFIG_EVENT GENMASK(7, 0)
> 46 #define CONFIG_COUNTER GENMASK(15, 8)
47
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki