From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [omap-audio:peter/linux-next-wip 21/63] sound/soc/codecs/tas2555.c:96:6: warning: variable 'ret' set but not used
Date: Mon, 19 Jul 2021 03:33:42 +0800 [thread overview]
Message-ID: <202107190339.WDOR59VE-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2244 bytes --]
tree: https://github.com/omap-audio/linux-audio peter/linux-next-wip
head: afd9de4bdc2361d1f36b24f414d1b2806b8ae755
commit: f546bca85f3cf64646dbd21dcc779633cc176038 [21/63] ASoC: Initial driver for TAS2555 Smart Amplifier
config: x86_64-randconfig-a013-20210718 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 5d5b08761f944d5b9822d582378333cc4b36a0a7)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/omap-audio/linux-audio/commit/f546bca85f3cf64646dbd21dcc779633cc176038
git remote add omap-audio https://github.com/omap-audio/linux-audio
git fetch --no-tags omap-audio peter/linux-next-wip
git checkout f546bca85f3cf64646dbd21dcc779633cc176038
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 >>):
>> sound/soc/codecs/tas2555.c:96:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^
1 warning generated.
vim +/ret +96 sound/soc/codecs/tas2555.c
90
91 static unsigned int tas2555_read(struct snd_soc_component *component,
92 unsigned int reg)
93 {
94 struct tas2555_priv *tas2555 = snd_soc_component_get_drvdata(component);
95 unsigned int value = 0;
> 96 int ret;
97
98 dev_dbg(component->dev, "%s: BOOK:PAGE:REG %u:%u:%u\n", __func__,
99 TAS2555_BOOK_ID(reg), TAS2555_PAGE_ID(reg),
100 TAS2555_PAGE_REG(reg));
101 tas2555_change_book(tas2555, TAS2555_BOOK_ID(reg));
102 ret = regmap_read(tas2555->regmap, TAS2555_BOOK_REG(reg), &value);
103 return value;
104 }
105
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 47129 bytes --]
reply other threads:[~2021-07-18 19:33 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=202107190339.WDOR59VE-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.