* [esmil:visionfive 48/63] sound/soc/starfive/i2svad.h:238:6: warning: no previous prototype for 'i2svad_pcm_push_tx'
@ 2022-01-24 9:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-24 9:58 UTC (permalink / raw)
To: Walker Chen
Cc: kbuild-all, linux-kernel, Emil Renner Berthing, Michael Yan, Jenny Zhang
tree: https://github.com/esmil/linux visionfive
head: fdbe623707a8f3f9b9d2cb3c4c240299a12b8302
commit: 20e1533986c528bed5da7a0957f828337d17d47d [48/63] ASoC: starfive: Add StarFive JH7100 audio drivers
config: xtensa-randconfig-r031-20220124 (https://download.01.org/0day-ci/archive/20220124/202201241754.z6jBG4qf-lkp@intel.com/config)
compiler: xtensa-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=xtensa 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/i2svad.c:20:
>> sound/soc/starfive/i2svad.h:238:6: warning: no previous prototype for 'i2svad_pcm_push_tx' [-Wmissing-prototypes]
238 | void i2svad_pcm_push_tx(struct i2svad_dev *dev) { }
| ^~~~~~~~~~~~~~~~~~
>> sound/soc/starfive/i2svad.h:239:6: warning: no previous prototype for 'i2svad_pcm_pop_rx' [-Wmissing-prototypes]
239 | void i2svad_pcm_pop_rx(struct i2svad_dev *dev) { }
| ^~~~~~~~~~~~~~~~~
>> sound/soc/starfive/i2svad.h:240:5: warning: no previous prototype for 'i2svad_pcm_register' [-Wmissing-prototypes]
240 | int i2svad_pcm_register(struct platform_device *pdev)
| ^~~~~~~~~~~~~~~~~~~
vim +/i2svad_pcm_push_tx +238 sound/soc/starfive/i2svad.h
232
233 #if IS_ENABLED(CONFIG_SND_STARFIVE_I2SVAD_PCM)
234 void i2svad_pcm_push_tx(struct i2svad_dev *dev);
235 void i2svad_pcm_pop_rx(struct i2svad_dev *dev);
236 int i2svad_pcm_register(struct platform_device *pdev);
237 #else
> 238 void i2svad_pcm_push_tx(struct i2svad_dev *dev) { }
> 239 void i2svad_pcm_pop_rx(struct i2svad_dev *dev) { }
> 240 int i2svad_pcm_register(struct platform_device *pdev)
241 {
242 return -EINVAL;
243 }
244 #endif
245
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-24 10:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 9:58 [esmil:visionfive 48/63] sound/soc/starfive/i2svad.h:238:6: warning: no previous prototype for 'i2svad_pcm_push_tx' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®