From: Tzung-Bi Shih <tzungbi@google.com>
To: kbuild-all@lists.01.org
Subject: Re: sound/soc/codecs/rt1015.c:724:2: warning: Value stored to 'bclk_ms' is never read [clang-analyzer-deadcode.DeadStores]
Date: Mon, 23 Aug 2021 23:42:07 +0800 [thread overview]
Message-ID: <YSPBz0CzuAvVcHJy@google.com> (raw)
In-Reply-To: <202108231809.NOi9qOEj-lkp@intel.com>
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]
On Mon, Aug 23, 2021 at 06:39:13PM +0800, kernel test robot wrote:
> >> sound/soc/codecs/rt1015.c:724:2: warning: Value stored to 'bclk_ms' is never read [clang-analyzer-deadcode.DeadStores]
> bclk_ms = frame_size > 32;
> ^ ~~~~~~~~~~~~~~~
> sound/soc/codecs/rt1015.c:724:2: note: Value stored to 'bclk_ms' is never read
> bclk_ms = frame_size > 32;
> ^ ~~~~~~~~~~~~~~~
Proposed a fix (https://patchwork.kernel.org/project/alsa-devel/list/?series=535979) for the warning.
WARNING: multiple messages have this Message-ID (diff)
From: Tzung-Bi Shih <tzungbi@google.com>
To: kernel test robot <lkp@intel.com>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>
Subject: Re: sound/soc/codecs/rt1015.c:724:2: warning: Value stored to 'bclk_ms' is never read [clang-analyzer-deadcode.DeadStores]
Date: Mon, 23 Aug 2021 23:42:07 +0800 [thread overview]
Message-ID: <YSPBz0CzuAvVcHJy@google.com> (raw)
In-Reply-To: <202108231809.NOi9qOEj-lkp@intel.com>
On Mon, Aug 23, 2021 at 06:39:13PM +0800, kernel test robot wrote:
> >> sound/soc/codecs/rt1015.c:724:2: warning: Value stored to 'bclk_ms' is never read [clang-analyzer-deadcode.DeadStores]
> bclk_ms = frame_size > 32;
> ^ ~~~~~~~~~~~~~~~
> sound/soc/codecs/rt1015.c:724:2: note: Value stored to 'bclk_ms' is never read
> bclk_ms = frame_size > 32;
> ^ ~~~~~~~~~~~~~~~
Proposed a fix (https://patchwork.kernel.org/project/alsa-devel/list/?series=535979) for the warning.
next prev parent reply other threads:[~2021-08-23 15:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-23 10:39 sound/soc/codecs/rt1015.c:724:2: warning: Value stored to 'bclk_ms' is never read [clang-analyzer-deadcode.DeadStores] kernel test robot
2021-08-23 10:39 ` kernel test robot
2021-08-23 15:42 ` Tzung-Bi Shih [this message]
2021-08-23 15:42 ` Tzung-Bi Shih
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=YSPBz0CzuAvVcHJy@google.com \
--to=tzungbi@google.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.