Hi Raghu,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tiwai-sound/for-next] [also build test WARNING on broonie-sound/for-next v5.18 next-20220527] [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/intel-lab-lkp/linux/commits/Raghu-Bankapur/asoc-msm-use-h... base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next config: arm64-randconfig-r036-20220531 (https://download.01.org/0day-ci/archive/20220531/202205311233.abvVh5rg-lkp@i...) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c825abd6b0198fb088d9752f556a70705bc99dfd) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/244d3a3d274761ea83000880d73cc9... git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Raghu-Bankapur/asoc-msm-use-hashtable-to-check-kcontrol/20220529-165246 git checkout 244d3a3d274761ea83000880d73cc9b0a01b2a4a # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/clk/mediatek/ sound/core/
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot lkp@intel.com
All warnings (new ones prefixed by >>):
sound/core/control.c:375:14: warning: no previous prototype for function 'snd_ctl_strtoint' [-Wmissing-prototypes]
unsigned int snd_ctl_strtoint(const char *s) ^ sound/core/control.c:375:1: note: declare 'static' if the function is not intended to be used outside of this translation unit unsigned int snd_ctl_strtoint(const char *s) ^ static 1 warning generated.
vim +/snd_ctl_strtoint +375 sound/core/control.c
373 374 /* Used to convert the string into int value -- BKDRHash */
375 unsigned int snd_ctl_strtoint(const char *s)
376 { 377 unsigned int res = 0; 378 379 while (*s) 380 res = (res << 5) - res + (*s++); 381 382 return (res & 0x7FFFFFFF); 383 } 384