From: kernel test robot <lkp@intel.com>
To: Florian Meier <florian.meier@koalo.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Dom Cobley <popcornmix@gmail.com>,
Phil Elwell <phil@raspberrypi.org>,
DigitalDreamtime <clive.messer@digitaldreamtime.co.uk>,
Matthias Reichl <hias@horus.com>,
Daniel Matuschek <daniel@hifiberry.com>,
Hui Wang <hui.wang@canonical.com>,
Waldemar Brodkorb <wbrodkorb@conet.de>,
Baswaraj K <jaikumar@cem-solutions.net>,
"Vijay Kumar B." <vijaykumar@zilogic.com>,
Raashid Muhammed <raashidmuhammed@zilogic.com>,
allocom <sparky-dev@allo.com>,
Nathan Chancellor <natechancellor@gmail.com>,
Deepak <deepak@zilogic.com>,
BabuSubashChandar <babusubashchandar@zilogic.com>,
Giedrius Trainavicius <giedrius@blokas.io>,
Miquel Blauw <info@dionaudio.nl>, Henry Kupis <fe-pi@cox.net>,
Dave Stevenson <dave.stevenson@raspberrypi.org>,
Jaikumar <jaikumar@cem-solutions.com>,
Sudeep Kumar <sudeepkumar@cem-solutions.net>,
Tim Gover <tim.gover@raspberrypi.org>,
b-ak <anur.bhargav@gmail.com>,
Audiophonics <contact@audiophonics.fr>,
Gordon <gordon@iqaudio.com>,
JoergSchambacherjoerg@i2audio.com,
Johannes Krude <johannes@krude.de>,
Matt Flax <flatmax@flatmax.org>,
AMuszkat <ariel.muszkat@gmail.com>,
Paul Hermann <paul@picoreplayer.org>
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
Date: Fri, 8 Apr 2022 15:59:56 +0800 [thread overview]
Message-ID: <202204081509.Ka45tMQ4-lkp@intel.com> (raw)
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
reply other threads:[~2022-04-08 8:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202204081509.Ka45tMQ4-lkp@intel.com \
--to=lkp@intel.com \
--cc=JoergSchambacherjoerg@i2audio.com \
--cc=anur.bhargav@gmail.com \
--cc=ariel.muszkat@gmail.com \
--cc=babusubashchandar@zilogic.com \
--cc=clive.messer@digitaldreamtime.co.uk \
--cc=contact@audiophonics.fr \
--cc=daniel@hifiberry.com \
--cc=dave.stevenson@raspberrypi.org \
--cc=deepak@zilogic.com \
--cc=fe-pi@cox.net \
--cc=flatmax@flatmax.org \
--cc=florian.meier@koalo.de \
--cc=giedrius@blokas.io \
--cc=gordon@iqaudio.com \
--cc=hias@horus.com \
--cc=hui.wang@canonical.com \
--cc=info@dionaudio.nl \
--cc=jaikumar@cem-solutions.com \
--cc=jaikumar@cem-solutions.net \
--cc=johannes@krude.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=natechancellor@gmail.com \
--cc=paul@picoreplayer.org \
--cc=phil@raspberrypi.org \
--cc=popcornmix@gmail.com \
--cc=raashidmuhammed@zilogic.com \
--cc=sparky-dev@allo.com \
--cc=sudeepkumar@cem-solutions.net \
--cc=tim.gover@raspberrypi.org \
--cc=vijaykumar@zilogic.com \
--cc=wbrodkorb@conet.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®