From: kernel test robot <lkp@intel.com>
To: Connor McAdams <conmanx360@gmail.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-kernel@vger.kernel.org, Takashi Iwai <tiwai@suse.de>
Subject: sound/pci/hda/patch_ca0132.c:8214:10: warning: no case matching constant switch condition '0'
Date: Wed, 18 Nov 2020 08:04:29 +0800 [thread overview]
Message-ID: <202011180828.XjJ2MFRz-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2323 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9c87c9f41245baa3fc4716cf39141439cf405b01
commit: bf2aa9ccc8e598d788132ded9c7e94c6af3a9d1e ALSA: hda/ca0132 - Cleanup ca0132_mmio_init function.
date: 3 months ago
config: arm64-randconfig-r005-20201117 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ace9653c11c6308401dcda2e8b26bf97e6e66e30)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bf2aa9ccc8e598d788132ded9c7e94c6af3a9d1e
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout bf2aa9ccc8e598d788132ded9c7e94c6af3a9d1e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
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/pci/hda/patch_ca0132.c:8214:10: warning: no case matching constant switch condition '0'
switch (ca0132_quirk(spec)) {
^~~~~~~~~~~~~~~~~~
sound/pci/hda/patch_ca0132.c:1076:29: note: expanded from macro 'ca0132_quirk'
#define ca0132_quirk(spec) ({ (void)(spec); QUIRK_NONE; })
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
vim +/0 +8214 sound/pci/hda/patch_ca0132.c
8209
8210 static void ca0132_mmio_init(struct hda_codec *codec)
8211 {
8212 struct ca0132_spec *spec = codec->spec;
8213
> 8214 switch (ca0132_quirk(spec)) {
8215 case QUIRK_R3D:
8216 case QUIRK_SBZ:
8217 case QUIRK_ZXR:
8218 ca0132_mmio_init_sbz(codec);
8219 break;
8220 case QUIRK_AE5:
8221 ca0132_mmio_init_ae5(codec);
8222 break;
8223 }
8224 }
8225
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25484 bytes --]
reply other threads:[~2020-11-18 0:05 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=202011180828.XjJ2MFRz-lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=conmanx360@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tiwai@suse.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®