sound/soc/ti/ams-delta.c:449:9: error: implicit declaration of function 'ams_delta_digital_mute'; did you mean

From: kernel test robot
Date: Mon Aug 24 2020 - 11:35:25 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d012a7190fc1fd72ed48911e77ca97ba4521bccd
commit: 059374fe9ea5dd1e5a1d6b14741baf994dbc8dd2 ASoC: ti: merge .digital_mute() into .mute_stream()
date: 6 weeks ago
config: arm-randconfig-r035-20200824 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.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
git checkout 059374fe9ea5dd1e5a1d6b14741baf994dbc8dd2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

sound/soc/ti/ams-delta.c: In function 'ams_delta_startup':
>> sound/soc/ti/ams-delta.c:449:9: error: implicit declaration of function 'ams_delta_digital_mute'; did you mean 'ams_delta_mute'? [-Werror=implicit-function-declaration]
449 | return ams_delta_digital_mute(NULL, 0, substream->stream);
| ^~~~~~~~~~~~~~~~~~~~~~
| ams_delta_mute
cc1: some warnings being treated as errors

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=059374fe9ea5dd1e5a1d6b14741baf994dbc8dd2
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 059374fe9ea5dd1e5a1d6b14741baf994dbc8dd2
vim +449 sound/soc/ti/ams-delta.c

445
446 /* Will be used if the codec ever has its own digital_mute function */
447 static int ams_delta_startup(struct snd_pcm_substream *substream)
448 {
> 449 return ams_delta_digital_mute(NULL, 0, substream->stream);
450 }
451

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip