lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201241754.z6jBG4qf-lkp@intel.com>
Date:   Mon, 24 Jan 2022 17:58:41 +0800
From:   kernel test robot <lkp@...el.com>
To:     Walker Chen <walker.chen@...rfivetech.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Emil Renner Berthing <kernel@...il.dk>,
        Michael Yan <michael.yan@...rfivetech.com>,
        Jenny Zhang <jenny.zhang@...rfivetech.com>
Subject: [esmil:visionfive 48/63] sound/soc/starfive/i2svad.h:238:6: warning:
 no previous prototype for 'i2svad_pcm_push_tx'

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ