[PATCH v7 5/9] ASoC: codecs: wcd938x-sdw: add SoundWire driver

kernel test robot lkp at intel.com
Mon May 24 15:38:10 CEST 2021


Hi Srinivas,

I love your patch! Perhaps something to improve:

[auto build test WARNING on asoc/for-next]
[also build test WARNING on robh/for-next sound/for-next v5.13-rc3 next-20210524]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Srinivas-Kandagatla/ASoC-codecs-add-wcd938x-support/20210524-165120
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: nds32-randconfig-r036-20210524 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.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/0day-ci/linux/commit/c81c76233b1a406d3b9460527a17cabb4f62a5d3
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Srinivas-Kandagatla/ASoC-codecs-add-wcd938x-support/20210524-165120
        git checkout c81c76233b1a406d3b9460527a17cabb4f62a5d3
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All warnings (new ones prefixed by >>):

   In file included from sound/soc/codecs/wcd938x.c:26:
>> sound/soc/codecs/wcd938x.h:697:5: warning: no previous prototype for 'wcd938x_sdw_hw_params' [-Wmissing-prototypes]
     697 | int wcd938x_sdw_hw_params(struct wcd938x_sdw_priv *wcd,
         |     ^~~~~~~~~~~~~~~~~~~~~


vim +/wcd938x_sdw_hw_params +697 sound/soc/codecs/wcd938x.h

   690	
   691	static inline int wcd938x_sdw_set_sdw_stream(struct wcd938x_sdw_priv *wcd,
   692				       struct snd_soc_dai *dai,
   693				       void *stream, int direction)
   694	{
   695		return -EOPNOTSUPP;
   696	}
 > 697	int wcd938x_sdw_hw_params(struct wcd938x_sdw_priv *wcd,

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 35396 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210524/bae40a33/attachment-0001.gz>


More information about the Alsa-devel mailing list