Hi Kuninori,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on asoc/for-next]
[also build test WARNING on next-20200519]
[cannot apply to sound/for-next v5.7-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see
https://stackoverflow.com/a/37406982]
url:
https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/ASoC-add-soc-l...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: parisc-randconfig-r011-20200521 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from arch/parisc/include/asm/io.h:6,
from include/linux/io.h:13,
from include/linux/irq.h:20,
from arch/parisc/include/asm/hardirq.h:13,
from include/linux/hardirq.h:9,
from include/linux/interrupt.h:11,
from include/sound/soc.h:18,
from sound/soc/soc-link.c:8:
include/asm-generic/pgtable.h: In function 'pte_clear_not_present_full':
arch/parisc/include/asm/pgtable.h:96:9: warning: variable 'old_pte' set but not
used [-Wunused-but-set-variable]
96 | pte_t old_pte; | ^~~~~~~
arch/parisc/include/asm/pgtable.h:322:34: note: in expansion of macro
'set_pte_at'
322 | #define pte_clear(mm, addr, xp) set_pte_at(mm, addr, xp, __pte(0))
| ^~~~~~~~~~
include/asm-generic/pgtable.h:202:2: note: in expansion of macro 'pte_clear'
202 | pte_clear(mm, address, ptep);
| ^~~~~~~~~
include/asm-generic/pgtable.h: In function '__ptep_modify_prot_commit':
arch/parisc/include/asm/pgtable.h:96:9: warning: variable 'old_pte' set but not
used [-Wunused-but-set-variable]
96 | pte_t old_pte; | ^~~~~~~
include/asm-generic/pgtable.h:641:2: note: in expansion of macro 'set_pte_at'
641 | set_pte_at(vma->vm_mm, addr, ptep, pte);
| ^~~~~~~~~~
sound/soc/soc-link.c: At top level:
sound/soc/soc-link.c:28:5: warning: no previous prototype for 'snd_soc_link_init'
[-Wmissing-prototypes]
28 | int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd)
| ^~~~~~~~~~~~~~~~~
sound/soc/soc-link.c:38:5: warning: no previous prototype for
'snd_soc_link_be_hw_params_fixup' [-Wmissing-prototypes]
38 | int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/soc-link.c:49:5: warning: no previous prototype for
'snd_soc_link_startup' [-Wmissing-prototypes]
49 | int snd_soc_link_startup(struct snd_pcm_substream *substream)
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/soc-link.c:61:6: warning: no previous prototype for
'snd_soc_link_shutdown' [-Wmissing-prototypes]
61 | void snd_soc_link_shutdown(struct snd_pcm_substream *substream)
| ^~~~~~~~~~~~~~~~~~~~~
sound/soc/soc-link.c:70:5: warning: no previous prototype for
'snd_soc_link_prepare' [-Wmissing-prototypes]
70 | int snd_soc_link_prepare(struct snd_pcm_substream *substream)
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/soc-link.c:82:5: warning: no previous prototype for
'snd_soc_link_hw_params' [-Wmissing-prototypes]
82 | int snd_soc_link_hw_params(struct snd_pcm_substream *substream,
| ^~~~~~~~~~~~~~~~~~~~~~
sound/soc/soc-link.c:95:6: warning: no previous prototype for
'snd_soc_link_hw_free' [-Wmissing-prototypes]
95 | void snd_soc_link_hw_free(struct snd_pcm_substream *substream)
| ^~~~~~~~~~~~~~~~~~~~
sound/soc/soc-link.c:104:5: warning: no previous prototype for
'snd_soc_link_trigger' [-Wmissing-prototypes]
104 | int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd)
| ^~~~~~~~~~~~~~~~~~~~
<< from sound/soc/soc-link.c:8:
> sound/soc/soc-link.c:116:5: warning: no previous prototype for
'snd_soc_link_compr_startup' [-Wmissing-prototypes]
116 | int
snd_soc_link_compr_startup(struct snd_compr_stream *cstream)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/snd_soc_link_compr_startup +116 sound/soc/soc-link.c
115
116 int snd_soc_link_compr_startup(struct snd_compr_stream *cstream)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org