Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 8 Apr 2022 15:59:56 +0800 | From | kernel test robot <> | Subject | [l1k:smsc95xx_5.17 77/887] drivers/clk/clk-allo-dac.c:39: warning: expecting prototype for struct allo_dac_clk. Prototype was for struct clk_allo_hw instead |
| |
tree: https://github.com/l1k/linux smsc95xx_5.17 head: 05d68ced287b30f62f18f95b5476135ef669804a commit: 4229d24ff83b7ba2f2ffd9b0dfbd9216ed69496e [77/887] Add support for all the downstream rpi sound card drivers config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220408/202204081509.Ka45tMQ4-lkp@intel.com/config) compiler: arceb-elf-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/l1k/linux/commit/4229d24ff83b7ba2f2ffd9b0dfbd9216ed69496e git remote add l1k https://github.com/l1k/linux git fetch --no-tags l1k smsc95xx_5.17 git checkout 4229d24ff83b7ba2f2ffd9b0dfbd9216ed69496e # 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=arc SHELL=/bin/bash drivers/char/broadcom/ drivers/clk/ drivers/gpio/ drivers/gpu/drm/vc4/ drivers/media/platform/rockchip/rkisp1/ drivers/staging/vc04_services/ sound/soc/bcm/ sound/soc/codecs/
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 >>):
>> drivers/clk/clk-allo-dac.c:39: warning: expecting prototype for struct allo_dac_clk. Prototype was for struct clk_allo_hw instead -- >> drivers/clk/clk-hifiberry-dacpro.c:38: warning: expecting prototype for struct hifiberry_dacpro_clk. Prototype was for struct clk_hifiberry_hw instead -- sound/soc/bcm/allo-boss2-dac.c: In function 'cs43130_pcm_pdn': >> sound/soc/bcm/allo-boss2-dac.c:261:27: warning: variable 'pdn_int' set but not used [-Wunused-but-set-variable] 261 | unsigned int reg, pdn_int; | ^~~~~~~ >> sound/soc/bcm/allo-boss2-dac.c:260:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 260 | int ret; | ^~~ sound/soc/bcm/allo-boss2-dac.c: In function 'cs43130_hw_params': sound/soc/bcm/allo-boss2-dac.c:665:36: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 665 | unsigned int required_clk, ret; | ^~~ >> sound/soc/bcm/allo-boss2-dac.c:665:22: warning: variable 'required_clk' set but not used [-Wunused-but-set-variable] 665 | unsigned int required_clk, ret; | ^~~~~~~~~~~~ sound/soc/bcm/allo-boss2-dac.c: At top level: sound/soc/bcm/allo-boss2-dac.c:955:35: warning: initialized field overwritten [-Woverride-init] 955 | .idle_bias_on = 1, | ^ sound/soc/bcm/allo-boss2-dac.c:955:35: note: (near initialization for 'cs43130_component_driver.idle_bias_on') In file included from sound/soc/bcm/allo-boss2-dac.c:46: sound/soc/bcm/../codecs/cs43130.h:485:26: warning: 'cs43130_supply_names' defined but not used [-Wunused-const-variable=] 485 | static const char *const cs43130_supply_names[CS43130_NUM_SUPPLIES] = { | ^~~~~~~~~~~~~~~~~~~~ -- >> sound/soc/bcm/allo-katana-codec.c:249:5: warning: no previous prototype for 'katana_codec_dai_mute_stream' [-Wmissing-prototypes] 249 | int katana_codec_dai_mute_stream(struct snd_soc_dai *dai, int mute, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- sound/soc/bcm/pifi-40.c: In function 'snd_pifi_40_hw_params': >> sound/soc/bcm/pifi-40.c:143:22: warning: variable 'sample_bits' set but not used [-Wunused-but-set-variable] 143 | unsigned int sample_bits; | ^~~~~~~~~~~ -- sound/soc/codecs/tas5713.c: In function 'tas5713_remove': >> sound/soc/codecs/tas5713.c:165:30: warning: variable 'tas5713' set but not used [-Wunused-but-set-variable] 165 | struct tas5713_priv *tas5713; | ^~~~~~~ sound/soc/codecs/tas5713.c: In function 'tas5713_probe': sound/soc/codecs/tas5713.c:173:30: warning: variable 'tas5713' set but not used [-Wunused-but-set-variable] 173 | struct tas5713_priv *tas5713; | ^~~~~~~ -- sound/soc/codecs/ma120x0p.c: In function 'ma120x0p_mute_stream': >> sound/soc/codecs/ma120x0p.c:976:31: warning: variable 'ma120x0p' set but not used [-Wunused-but-set-variable] 976 | struct ma120x0p_priv *ma120x0p; | ^~~~~~~~ sound/soc/codecs/ma120x0p.c: In function 'ma120x0p_clear_err': sound/soc/codecs/ma120x0p.c:1016:31: warning: variable 'ma120x0p' set but not used [-Wunused-but-set-variable] 1016 | struct ma120x0p_priv *ma120x0p; | ^~~~~~~~ sound/soc/codecs/ma120x0p.c: In function 'ma120x0p_remove': sound/soc/codecs/ma120x0p.c:1040:31: warning: variable 'ma120x0p' set but not used [-Wunused-but-set-variable] 1040 | struct ma120x0p_priv *ma120x0p; | ^~~~~~~~ sound/soc/codecs/ma120x0p.c: In function 'ma120x0p_probe': sound/soc/codecs/ma120x0p.c:1047:31: warning: variable 'ma120x0p' set but not used [-Wunused-but-set-variable] 1047 | struct ma120x0p_priv *ma120x0p; | ^~~~~~~~ sound/soc/codecs/ma120x0p.c: In function 'ma120x0p_set_bias_level': sound/soc/codecs/ma120x0p.c:1133:31: warning: variable 'ma120x0p' set but not used [-Wunused-but-set-variable] 1133 | struct ma120x0p_priv *ma120x0p; | ^~~~~~~~
vim +39 drivers/clk/clk-allo-dac.c
30 31 /** 32 * struct allo_dac_clk - Common struct to the Allo DAC 33 * @hw: clk_hw for the common clk framework 34 * @mode: 0 => CLK44EN, 1 => CLK48EN 35 */ 36 struct clk_allo_hw { 37 struct clk_hw hw; 38 uint8_t mode; > 39 }; 40
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| ![\](/images/icornerr.gif) |