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 <[email protected]>

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/[email protected]

Attachment: .config.gz
Description: application/gzip

Reply via email to