Messages in this thread | | | Date | Mon, 24 Jan 2022 18:29:26 +0800 | From | kernel test robot <> | Subject | [esmil:visionfive 48/63] sound/soc/starfive/spdif.h:145:6: warning: no previous prototype for 'sf_spdif_pcm_push_tx' |
| |
tree: https://github.com/esmil/linux visionfive head: fdbe623707a8f3f9b9d2cb3c4c240299a12b8302 commit: 20e1533986c528bed5da7a0957f828337d17d47d [48/63] ASoC: starfive: Add StarFive JH7100 audio drivers config: sparc-randconfig-r014-20220124 (https://download.01.org/0day-ci/archive/20220124/202201241838.ABa6OLrH-lkp@intel.com/config) compiler: sparc-linux-gcc (GCC) 11.2.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/esmil/linux/commit/20e1533986c528bed5da7a0957f828337d17d47d git remote add esmil https://github.com/esmil/linux git fetch --no-tags esmil visionfive git checkout 20e1533986c528bed5da7a0957f828337d17d47d # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc SHELL=/bin/bash sound/soc/
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from sound/soc/starfive/spdif.c:21: >> sound/soc/starfive/spdif.h:145:6: warning: no previous prototype for 'sf_spdif_pcm_push_tx' [-Wmissing-prototypes] 145 | void sf_spdif_pcm_push_tx(struct sf_spdif_dev *dev) { } | ^~~~~~~~~~~~~~~~~~~~ >> sound/soc/starfive/spdif.h:146:6: warning: no previous prototype for 'sf_spdif_pcm_pop_rx' [-Wmissing-prototypes] 146 | void sf_spdif_pcm_pop_rx(struct sf_spdif_dev *dev) { } | ^~~~~~~~~~~~~~~~~~~ >> sound/soc/starfive/spdif.h:147:5: warning: no previous prototype for 'sf_spdif_pcm_register' [-Wmissing-prototypes] 147 | int sf_spdif_pcm_register(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~~~ -- In file included from sound/soc/starfive/pwmdac.c:19: >> sound/soc/starfive/pwmdac.h:145:6: warning: no previous prototype for 'sf_pwmdac_pcm_push_tx' [-Wmissing-prototypes] 145 | void sf_pwmdac_pcm_push_tx(struct sf_pwmdac_dev *dev) { } | ^~~~~~~~~~~~~~~~~~~~~ >> sound/soc/starfive/pwmdac.h:146:6: warning: no previous prototype for 'sf_pwmdac_pcm_pop_rx' [-Wmissing-prototypes] 146 | void sf_pwmdac_pcm_pop_rx(struct sf_pwmdac_dev *dev) { } | ^~~~~~~~~~~~~~~~~~~~ >> sound/soc/starfive/pwmdac.h:147:5: warning: no previous prototype for 'sf_pwmdac_pcm_register' [-Wmissing-prototypes] 147 | int sf_pwmdac_pcm_register(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~~~~
vim +/sf_spdif_pcm_push_tx +145 sound/soc/starfive/spdif.h
139 140 #if IS_ENABLED(CONFIG_SND_STARFIVE_SPDIF_PCM) 141 void sf_spdif_pcm_push_tx(struct sf_spdif_dev *dev); 142 void sf_spdif_pcm_pop_rx(struct sf_spdif_dev *dev); 143 int sf_spdif_pcm_register(struct platform_device *pdev); 144 #else > 145 void sf_spdif_pcm_push_tx(struct sf_spdif_dev *dev) { } > 146 void sf_spdif_pcm_pop_rx(struct sf_spdif_dev *dev) { } > 147 int sf_spdif_pcm_register(struct platform_device *pdev) 148 { 149 return -EINVAL; 150 } 151 #endif 152 153
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |