Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on asoc/for-next] [also build test WARNING on v5.14-rc7 next-20210826] [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/derek-fang-realtek-com/ASoC-rt5682s-Add-driver-for-ALC5682I-VS-codec/20210826-161340 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next config: hexagon-randconfig-r013-20210826 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project ea08c4cd1c0869ec5024a8bb3f5cdf06ab03ae83) 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/3d7b4fdb7110791febbe2878e436192952b2cd5b git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review derek-fang-realtek-com/ASoC-rt5682s-Add-driver-for-ALC5682I-VS-codec/20210826-161340 git checkout 3d7b4fdb7110791febbe2878e436192952b2cd5b # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> sound/soc/codecs/rt5682s.c:64:6: warning: no previous prototype for function 'rt5682s_apply_patch_list' [-Wmissing-prototypes] void rt5682s_apply_patch_list(struct rt5682s_priv *rt5682s, ^ sound/soc/codecs/rt5682s.c:64:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void rt5682s_apply_patch_list(struct rt5682s_priv *rt5682s, ^ static >> sound/soc/codecs/rt5682s.c:441:6: warning: no previous prototype for function 'rt5682s_volatile_register' [-Wmissing-prototypes] bool rt5682s_volatile_register(struct device *dev, unsigned int reg) ^ sound/soc/codecs/rt5682s.c:441:1: note: declare 'static' if the function is not intended to be used outside of this translation unit bool rt5682s_volatile_register(struct device *dev, unsigned int reg) ^ static >> sound/soc/codecs/rt5682s.c:483:6: warning: no previous prototype for function 'rt5682s_readable_register' [-Wmissing-prototypes] bool rt5682s_readable_register(struct device *dev, unsigned int reg) ^ sound/soc/codecs/rt5682s.c:483:1: note: declare 'static' if the function is not intended to be used outside of this translation unit bool rt5682s_readable_register(struct device *dev, unsigned int reg) ^ static >> sound/soc/codecs/rt5682s.c:623:6: warning: no previous prototype for function 'rt5682s_reset' [-Wmissing-prototypes] void rt5682s_reset(struct rt5682s_priv *rt5682s) ^ sound/soc/codecs/rt5682s.c:623:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void rt5682s_reset(struct rt5682s_priv *rt5682s) ^ static >> sound/soc/codecs/rt5682s.c:735:5: warning: no previous prototype for function 'rt5682s_headset_detect' [-Wmissing-prototypes] int rt5682s_headset_detect(struct snd_soc_component *component, int jack_insert) ^ sound/soc/codecs/rt5682s.c:735:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int rt5682s_headset_detect(struct snd_soc_component *component, int jack_insert) ^ static >> sound/soc/codecs/rt5682s.c:822:6: warning: no previous prototype for function 'rt5682s_jack_detect_handler' [-Wmissing-prototypes] void rt5682s_jack_detect_handler(struct work_struct *work) ^ sound/soc/codecs/rt5682s.c:822:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void rt5682s_jack_detect_handler(struct work_struct *work) ^ static >> sound/soc/codecs/rt5682s.c:2907:5: warning: no previous prototype for function 'rt5682s_parse_dt' [-Wmissing-prototypes] int rt5682s_parse_dt(struct rt5682s_priv *rt5682s, struct device *dev) ^ sound/soc/codecs/rt5682s.c:2907:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int rt5682s_parse_dt(struct rt5682s_priv *rt5682s, struct device *dev) ^ static >> sound/soc/codecs/rt5682s.c:2936:6: warning: no previous prototype for function 'rt5682s_calibrate' [-Wmissing-prototypes] void rt5682s_calibrate(struct rt5682s_priv *rt5682s) ^ sound/soc/codecs/rt5682s.c:2936:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void rt5682s_calibrate(struct rt5682s_priv *rt5682s) ^ static >> sound/soc/codecs/rt5682s.c:1014:29: warning: unused variable 'rt5682s_sar_mode_enum' [-Wunused-const-variable] static SOC_ENUM_SINGLE_DECL(rt5682s_sar_mode_enum, 0, 0, ^ 9 warnings generated. vim +/rt5682s_apply_patch_list +64 sound/soc/codecs/rt5682s.c 63 > 64 void rt5682s_apply_patch_list(struct rt5682s_priv *rt5682s, 65 struct device *dev) 66 { 67 int ret; 68 69 ret = regmap_multi_reg_write(rt5682s->regmap, patch_list, ARRAY_SIZE(patch_list)); 70 if (ret) 71 dev_warn(dev, "Failed to apply regmap patch: %d\n", ret); 72 } 73 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip