* [esmil:visionfive 39/54] sound/soc/starfive/pwmdac.h:145:6: warning: no previous prototype for 'sf_pwmdac_pcm_push_tx'
@ 2022-04-21 6:40 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-21 6:40 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: 68fe13e37af4c8331cdd40841353c9725cb65925
commit: bd837079985c8fbf12bd972a21ddacef9d4c4121 [39/54] ASoC: starfive: Add StarFive JH7100 audio drivers
config: csky-randconfig-r004-20220420 (https://download.01.org/0day-ci/archive/20220420/202204202206.ZXx9bPpx-lkp@intel.com/config)
compiler: csky-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/bd837079985c8fbf12bd972a21ddacef9d4c4121
git remote add esmil https://github.com/esmil/linux
git fetch --no-tags esmil visionfive
git checkout bd837079985c8fbf12bd972a21ddacef9d4c4121
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=csky 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/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_pwmdac_pcm_push_tx +145 sound/soc/starfive/pwmdac.h
137
138
139
140 #if IS_ENABLED(CONFIG_SND_STARFIVE_PWMDAC_PCM)
141 void sf_pwmdac_pcm_push_tx(struct sf_pwmdac_dev *dev);
142 void sf_pwmdac_pcm_pop_rx(struct sf_pwmdac_dev *dev);
143 int sf_pwmdac_pcm_register(struct platform_device *pdev);
144 #else
> 145 void sf_pwmdac_pcm_push_tx(struct sf_pwmdac_dev *dev) { }
> 146 void sf_pwmdac_pcm_pop_rx(struct sf_pwmdac_dev *dev) { }
> 147 int sf_pwmdac_pcm_register(struct platform_device *pdev)
148 {
149 return -EINVAL;
150 }
151 #endif
152
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-21 6:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21 6:40 [esmil:visionfive 39/54] sound/soc/starfive/pwmdac.h:145:6: warning: no previous prototype for 'sf_pwmdac_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;
as well as URLs for NNTP newsgroup(s).