Messages in this thread | | | Date | Wed, 18 May 2022 08:23:16 +0800 | From | kernel test robot <> | Subject | [broonie-ci:v2_20220509_cezary_rojewski_asoc_intel_avs_driver_core_and_pcm_operations 173/174] sound/soc/intel/avs/trace.c:19:6: error: redefinition of 'trace_avs_msg_payload' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git v2_20220509_cezary_rojewski_asoc_intel_avs_driver_core_and_pcm_operations head: 2629dade5628ba54905160bd1898278223458fd3 commit: a76300c1425077cd9eeadf30353ed1794717a135 [173/174] ASoC: Intel: avs: Event tracing config: alpha-randconfig-r036-20220516 (https://download.01.org/0day-ci/archive/20220518/202205180850.lKsZGoOE-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 11.3.0 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 # https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git/commit/?id=a76300c1425077cd9eeadf30353ed1794717a135 git remote add broonie-ci https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git git fetch --no-tags broonie-ci v2_20220509_cezary_rojewski_asoc_intel_avs_driver_core_and_pcm_operations git checkout a76300c1425077cd9eeadf30353ed1794717a135 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash sound/soc/intel/avs/
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> sound/soc/intel/avs/trace.c:19:6: error: redefinition of 'trace_avs_msg_payload' 19 | void trace_avs_msg_payload(const void *data, size_t size) | ^~~~~~~~~~~~~~~~~~~~~ In file included from sound/soc/intel/avs/trace.c:12: sound/soc/intel/avs/trace.h:41:20: note: previous definition of 'trace_avs_msg_payload' with type 'void(const void *, size_t)' {aka 'void(const void *, long unsigned int)'} 41 | static inline void trace_avs_msg_payload(const void *data, size_t size) {}; | ^~~~~~~~~~~~~~~~~~~~~
vim +/trace_avs_msg_payload +19 sound/soc/intel/avs/trace.c
13 14 #define BYTES_PER_LINE 16 15 #define MAX_CHUNK_SIZE ((PAGE_SIZE - 150) /* Place for trace header */ \ 16 / (2 * BYTES_PER_LINE + 4) /* chars per line */ \ 17 * BYTES_PER_LINE) 18 > 19 void trace_avs_msg_payload(const void *data, size_t size)
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |