[PATCH v2 09/15] ASoC: Intel: avs: Event tracing

kernel test robot lkp at intel.com
Mon May 9 16:42:12 CEST 2022


Hi Cezary,

I love your patch! Yet something to improve:

[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on next-20220509]
[cannot apply to tiwai-sound/for-next v5.18-rc6]
[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]

url:    https://github.com/intel-lab-lkp/linux/commits/Cezary-Rojewski/ASoC-Intel-avs-Driver-core-and-PCM-operations/20220509-165656
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20220509/202205092213.XXm7bdgE-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://github.com/intel-lab-lkp/linux/commit/22736f1a80f21a1729c0b0169ab6b7d724fab1d7
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Cezary-Rojewski/ASoC-Intel-avs-Driver-core-and-PCM-operations/20220509-165656
        git checkout 22736f1a80f21a1729c0b0169ab6b7d724fab1d7
        # 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

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at 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


More information about the Alsa-devel mailing list