[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202209200830.U8RLifq0-lkp@intel.com>
Date: Tue, 20 Sep 2022 08:23:23 +0800
From: kernel test robot <lkp@...el.com>
To: Jyri Sarha <jyri.sarha@...el.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [jsarha:probes-ipc4 5/5] sound/soc/sof/sof-client-probes-ipc4.c:173:
warning: expecting prototype for ipc3_probes_deinit(). Prototype was for
ipc4_probes_deinit() instead
tree: https://github.com/jsarha/linux probes-ipc4
head: 540448c33e2a7736e7274886eaf268b5d76ac0f1
commit: 540448c33e2a7736e7274886eaf268b5d76ac0f1 [5/5] ASoC: SOF: IPC4: probes: Add doxygen documentation for IPC4 ops
config: s390-allyesconfig
compiler: s390-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/jsarha/linux/commit/540448c33e2a7736e7274886eaf268b5d76ac0f1
git remote add jsarha https://github.com/jsarha/linux
git fetch --no-tags jsarha probes-ipc4
git checkout 540448c33e2a7736e7274886eaf268b5d76ac0f1
# 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=s390 SHELL=/bin/bash sound/soc/sof/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> sound/soc/sof/sof-client-probes-ipc4.c:173: warning: expecting prototype for ipc3_probes_deinit(). Prototype was for ipc4_probes_deinit() instead
vim +173 sound/soc/sof/sof-client-probes-ipc4.c
6b98b7f32ce814 Jyri Sarha 2022-08-11 162
540448c33e2a77 Jyri Sarha 2022-09-01 163 /**
540448c33e2a77 Jyri Sarha 2022-09-01 164 * ipc3_probes_deinit - cleanup after data probing
540448c33e2a77 Jyri Sarha 2022-09-01 165 * @cdev: SOF client device
540448c33e2a77 Jyri Sarha 2022-09-01 166 * @return: 0 on success, negative error code on error
540448c33e2a77 Jyri Sarha 2022-09-01 167 *
540448c33e2a77 Jyri Sarha 2022-09-01 168 * Host sends DEINIT request to free previously initialized probe
540448c33e2a77 Jyri Sarha 2022-09-01 169 * on DSP side once it is no longer needed. DEINIT only when there
540448c33e2a77 Jyri Sarha 2022-09-01 170 * are no probes connected and with all injectors detached.
540448c33e2a77 Jyri Sarha 2022-09-01 171 */
6b98b7f32ce814 Jyri Sarha 2022-08-11 172 static int ipc4_probes_deinit(struct sof_client_dev *cdev)
6b98b7f32ce814 Jyri Sarha 2022-08-11 @173 {
6b98b7f32ce814 Jyri Sarha 2022-08-11 174 struct sof_man4_module *mentry = sof_ipc4_probe_get_module_info(cdev);
6b98b7f32ce814 Jyri Sarha 2022-08-11 175 struct sof_ipc4_msg msg;
6b98b7f32ce814 Jyri Sarha 2022-08-11 176 int ret;
6b98b7f32ce814 Jyri Sarha 2022-08-11 177
6b98b7f32ce814 Jyri Sarha 2022-08-11 178 msg.primary = mentry->id;
6b98b7f32ce814 Jyri Sarha 2022-08-11 179 msg.primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_DELETE_INSTANCE);
6b98b7f32ce814 Jyri Sarha 2022-08-11 180 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST);
6b98b7f32ce814 Jyri Sarha 2022-08-11 181 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG);
6b98b7f32ce814 Jyri Sarha 2022-08-11 182 msg.extension = SOF_IPC4_MOD_EXT_DST_MOD_INSTANCE(INVALID_PIPELINE_ID);
6b98b7f32ce814 Jyri Sarha 2022-08-11 183 msg.extension |= SOF_IPC4_MOD_EXT_CORE_ID(0);
6b98b7f32ce814 Jyri Sarha 2022-08-11 184
6b98b7f32ce814 Jyri Sarha 2022-08-11 185 msg.data_size = 0;
6b98b7f32ce814 Jyri Sarha 2022-08-11 186 msg.data_ptr = NULL;
6b98b7f32ce814 Jyri Sarha 2022-08-11 187
6b98b7f32ce814 Jyri Sarha 2022-08-11 188 ret = sof_client_ipc_tx_message(cdev, &msg, NULL, 0);
6b98b7f32ce814 Jyri Sarha 2022-08-11 189
6b98b7f32ce814 Jyri Sarha 2022-08-11 190 return ret;
6b98b7f32ce814 Jyri Sarha 2022-08-11 191 }
6b98b7f32ce814 Jyri Sarha 2022-08-11 192
:::::: The code at line 173 was first introduced by commit
:::::: 6b98b7f32ce81456f4e898f6b3e1f70c7ed78d4c ASoC: SOF: IPC4: probes: Implement IPC4 ops for probes client device
:::::: TO: Jyri Sarha <jyri.sarha@...el.com>
:::::: CC: Jyri Sarha <jyri.sarha@...el.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (305950 bytes)
Powered by blists - more mailing lists