Hi Wesley, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on broonie-sound/for-next] [also build test WARNING on tiwai-sound/for-next tiwai-sound/for-linus usb/usb-testing usb/usb-next usb/usb-linus linus/master v6.1 next-20221220] [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/Wesley-Cheng/ASoC-Add-SOC-USB-APIs-for-adding-an-USB-backend/20221224-073625 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next patch link: https://lore.kernel.org/r/20221223233200.26089-3-quic_wcheng%40quicinc.com patch subject: [RFC PATCH 02/14] ASoC: qcom: qdsp6: Introduce USB AFE port to q6dsp config: m68k-allmodconfig compiler: m68k-linux-gcc (GCC) 12.1.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/68a3f2662ef47598be991a87df84e8f489e9d3cb git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Wesley-Cheng/ASoC-Add-SOC-USB-APIs-for-adding-an-USB-backend/20221224-073625 git checkout 68a3f2662ef47598be991a87df84e8f489e9d3cb # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash sound/soc/qcom/qdsp6/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> sound/soc/qcom/qdsp6/q6afe.c:1397:5: warning: no previous prototype for 'afe_port_send_usb_dev_param' [-Wmissing-prototypes] 1397 | int afe_port_send_usb_dev_param(struct q6afe_port *port, struct q6afe_usb_cfg *cfg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/qcom/qdsp6/q6afe.c: In function 'q6afe_port_get_from_id': >> sound/soc/qcom/qdsp6/q6afe.c:1794:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1794 | cfg_type = AFE_PARAM_ID_CODEC_DMA_CONFIG; | ^ sound/soc/qcom/qdsp6/q6afe.c:1795:9: note: here 1795 | case AFE_PORT_ID_USB_RX: | ^~~~ vim +/afe_port_send_usb_dev_param +1397 sound/soc/qcom/qdsp6/q6afe.c 1396 > 1397 int afe_port_send_usb_dev_param(struct q6afe_port *port, struct q6afe_usb_cfg *cfg) 1398 { 1399 union afe_port_config *pcfg = &port->port_cfg; 1400 struct afe_param_id_usb_audio_dev_params usb_dev; 1401 struct afe_param_id_usb_audio_dev_lpcm_fmt lpcm_fmt; 1402 struct afe_param_id_usb_audio_svc_interval svc_int; 1403 int ret = 0; 1404 1405 if (!pcfg) { 1406 pr_err("%s: Error, no configuration data\n", __func__); 1407 ret = -EINVAL; 1408 goto exit; 1409 } 1410 1411 memset(&usb_dev, 0, sizeof(usb_dev)); 1412 memset(&lpcm_fmt, 0, sizeof(lpcm_fmt)); 1413 1414 usb_dev.cfg_minor_version = AFE_API_MINOR_VERSION_USB_AUDIO_CONFIG; 1415 q6afe_port_set_param_v2(port, &usb_dev, 1416 AFE_PARAM_ID_USB_AUDIO_DEV_PARAMS, 1417 AFE_MODULE_AUDIO_DEV_INTERFACE, sizeof(usb_dev)); 1418 if (ret) { 1419 pr_err("%s: AFE device param cmd failed %d\n", 1420 __func__, ret); 1421 goto exit; 1422 } 1423 1424 lpcm_fmt.cfg_minor_version = AFE_API_MINOR_VERSION_USB_AUDIO_CONFIG; 1425 lpcm_fmt.endian = pcfg->usb_cfg.endian; 1426 ret = q6afe_port_set_param_v2(port, &lpcm_fmt, 1427 AFE_PARAM_ID_USB_AUDIO_DEV_LPCM_FMT, 1428 AFE_MODULE_AUDIO_DEV_INTERFACE, sizeof(lpcm_fmt)); 1429 if (ret) { 1430 pr_err("%s: AFE device param cmd LPCM_FMT failed %d\n", 1431 __func__, ret); 1432 goto exit; 1433 } 1434 1435 svc_int.cfg_minor_version = 1436 AFE_API_MINOR_VERSION_USB_AUDIO_CONFIG; 1437 svc_int.svc_interval = pcfg->usb_cfg.service_interval; 1438 ret = q6afe_port_set_param_v2(port, &svc_int, 1439 AFE_PARAM_ID_USB_AUDIO_SVC_INTERVAL, 1440 AFE_MODULE_AUDIO_DEV_INTERFACE, sizeof(svc_int)); 1441 if (ret) { 1442 pr_err("%s: AFE device param cmd svc_interval failed %d\n", 1443 __func__, ret); 1444 ret = -EINVAL; 1445 goto exit; 1446 } 1447 exit: 1448 return ret; 1449 } 1450 -- 0-DAY CI Kernel Test Service https://01.org/lkp