Re: [PATCH] ASoC: audio-graph-card: Add audio mixer for Motorola mdm6600

From: kernel test robot
Date: Sun Mar 28 2021 - 20:37:46 EST


Hi Pavel,

I love your patch! Yet something to improve:

[auto build test ERROR on asoc/for-next]
[also build test ERROR on linux/master linus/master v5.12-rc4 next-20210326]
[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/0day-ci/linux/commits/Pavel-Machek/ASoC-audio-graph-card-Add-audio-mixer-for-Motorola-mdm6600/20210328-191104
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/654466aa66c5062f6ca787461a9606313fa7026e
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Pavel-Machek/ASoC-audio-graph-card-Add-audio-mixer-for-Motorola-mdm6600/20210328-191104
git checkout 654466aa66c5062f6ca787461a9606313fa7026e
# save the attached .config to linux build tree
make W=1 ARCH=x86_64

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/codecs/motmdm.c:23:10: fatal error: motmdm-state.h: No such file or directory
23 | #include "motmdm-state.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
--
sound/soc/codecs/motmdm-state.c:35:5: warning: no previous prototype for 'register_modem_state_notifier' [-Wmissing-prototypes]
35 | int register_modem_state_notifier(struct notifier_block *nb)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/motmdm-state.c:41:5: warning: no previous prototype for 'unregister_modem_state_notifier' [-Wmissing-prototypes]
41 | int unregister_modem_state_notifier(struct notifier_block *nb)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/motmdm-state.c: In function 'modem_state_notifier_call_chain':
>> sound/soc/codecs/motmdm-state.c:50:8: error: implicit declaration of function '__blocking_notifier_call_chain'; did you mean 'blocking_notifier_call_chain'? [-Werror=implicit-function-declaration]
50 | ret = __blocking_notifier_call_chain(&modem_state_chain_head, val, NULL,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| blocking_notifier_call_chain
cc1: some warnings being treated as errors


vim +23 sound/soc/codecs/motmdm.c

22
> 23 #include "motmdm-state.h"
24

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

Attachment: .config.gz
Description: application/gzip